#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, d, r = 0;
  cin >> n;
  if (n < 2)
    cout << "Not Prime";
  else {
    for (int i = 2; i < (n / 2); i++) {
      if ((n % i) == 0) {
        cout << "Not prime";
        r = 1;
        break;
      }
    }
  }
  if (r == 0) cout << "Prime";
}
