Problem1206--求出1~N中的所有素数

1206: 求出1~N中的所有素数

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

Description

求出1-N中的所有素数


Input

大于1的正整数N

Output

1-N中的所有素数,(以从小到大的格式输出)

Sample Input Copy

9

Sample Output Copy

2 3 5 7 

Source/Category

admin