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

a,b = map(int, raw_input().strip().split())  
for i in range(a,b+1):
	t = 0;
	for j in range(2,i):
		if i%j == 0:
			t = 1;
			break;
	if t == 0:
		print i;