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: 92ms
Memory: 24300kB
Author: yang7758
In contest: 1122

a,b=list(map(int,input().split()))
i=a
while i<=b:
    for j in range(2,i):
        if i%j==0:
            break
    else:
        print(i)
    i+=1