n=int(input())
s="Isf tthhies ,b oIs sq ufiitn.d"
print(["not "*any([n%a<1for a in range(2,n)])+"prime",s[::2]+s[1::2]][1/2>0])
bj1pbnQoaW5wdXQoKSkKcz0iSXNmICB0dGhoaWVzICxiIG9JcyBzcSB1ZmlpdG4uZCIKcHJpbnQoWyJub3QgIiphbnkoW24lYTwxZm9yIGEgaW4gcmFuZ2UoMixuKV0pKyJwcmltZSIsc1s6OjJdK3NbMTo6Ml1dWzEvMj4wXSk=