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: 121ms
Memory: 21432kB
Author: 13738033040
In contest: 1086

a,b=map(int,raw_input().strip().split())

while (a<=b):
	i=2
	while (i<=(a/i)):
		if not(a%i):break
		i=i+1
	if (i>a/i):print a
	a=a+1