def panduan(n):
b = n * 100 - 99
d = n * 100
for i in range(b, d, 2):
for x in range(2,i,1):
if i % x == 0:
a = 1
break
else:
a = 0
break
if a == 0:
print(n,'no')
if a == 1:
print('yes')