Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: G
Result: Accepted
Time: 125ms
Memory: 21432kB
Author: 13967581231
In contest: 1086

n,m=map(int,raw_input().strip().split())
for i in range(n,m+1):
	f=True
	for j in range(2,i):
		if i%j==0:
			f=False
			break
	if f==True:
		print i