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: 24436kB
Author: digy
In contest: 1122

a,b=list(map(int,input().split()))

i=a
while i<=b :
        n=2
        while n<i :
            if i%n==0 :
               break ;
            n+=1
        else:
              print(i)
        i+=1