题解 | #判断素数#
判断素数
http://www.nowcoder.com/practice/0829378a666f4083925d1c96dcbd170a
n = int(input())
target = True
for i in range(2,n):
if n%i==0:
target = False
print('No')
break
if target == True:
print('Yes')
target = True
for i in range(2,n):
if n%i==0:
target = False
print('No')
break
if target == True:
print('Yes')