a=int(input())
sqrt=int(a ** 1/2)
isPrime = 1

if a == 1:
    print("Nothing")
    isPrime = 2

for i in range(2,sqrt+1):
    if (a % i) == 0:
        isPrime = 0
        break


if isPrime == 0:
    print("Composite")
elif isPrime == 1:
    print("Prime")