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

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