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

a, b = map(int, raw_input().strip().split())
for i in range(a,b+1):
	f=1
	j=2
	while (j<i and f==1):
		if i%j==0:
			f=0
		j=j+1
	if f==1:
		print i