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

if a == 1:
    print("Nothing")
    exit(1)
for i in range(2,sqrt+1):
    if (a % i) == 0:
        print("Composite")
        exit(1)
print("Prime")