#include <iostream>
using namespace std;
int main()
{
    int n;   cin >> n;
    int x = 2;
    while ( x < n/2 )
    {
        if ( n % x == 0 )
        {
            cout << "Composite";
            break;
        }

        else if ( n % x != 0 )
        {
            x ++;
        }
    }

    if ( n == 1 )
    {
        cout << "Nothing";
    }

    else if ( n == 2 )
    {
        cout << "Prime";
    }

    else if ( x >= n/2 )
    {
        cout << "Prime";
    }


    return 0;
}