Problem1066--求素数

1066: 求素数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 32 MiB

Description

求0~N内的素数。(N<=100000)

Input

N

Output

[0~N]之间的所有素数,一个素数占一行。

Sample Input Copy

100

Sample Output Copy

2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97

HINT


Source/Category