#include <iostream>
using namespace std;
int main() {
int n;
int a = 2;
cout << "Enter a integer:";
cin >> n;
if (n <= 1) cout << "It is not a prime number.";
else {
for (int i = 2;i < n;i++)
if (n % i == 0)
a += 1;
else a += 0;
if (a == 2)
cout << "It is a prime number.";
else cout << "It is not a prime number.";
}
return 0;
}