num=int(input("enter the number"))
flag=0
for i in range (2,num):
    if num%i==0:
        flag=flag+1

        break

    else:
        pass

if (flag==0):
    print("prime")
else:
    print("not prime")

