Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第二次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: G
Result: Accepted
Time: 83ms
Memory: 24300kB
Author: keshuiping
In contest: 1122

a,b=map(int,input().split())
m=0
while a<=b:
    n=2
    while n<=a:
        if a%n==0 : break
        n+=1
    if n==a:
        print(a)
    a+=1