1080: 输出区间内的质数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

输入两个整数a,b(5<=a<b<=100,000),换行输出在a到b的区间内每个质数

Input

两个整数a,b(5<=a<b<=100,000)

Output

换行输出在a到b的区间内每个质数

Sample Input Copy

10 105

Sample Output Copy

11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
101
103

Source/Category