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

#!/usr/bin/python
# -*- coding: UTF-8 -*-
a,b=map(int,raw_input().strip().split())
if a >b:
	t=a
	a=b
	b=t
for num in range(a,b+1):
	for i in range(2,num):
		if num%i==0:
			break
	else:
		print num