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: 103ms
Memory: 24436kB
Author: wjj
In contest: 1122

m=list(map(int,input().split()))
a=m[0]
b=m[1]
for num in range(a,b+1):
    for i in range(2,num-1):
        if num%i==0:
            break
    else:
        print(num)