Problem E: 【GESP1】寻找数字

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

Description

请你写一个程序,寻找被357除均余1的正整数。

Input

输入 1 行,一个整数n1<=n<=10000)。

Output

输出若干行,为1n之间(包含n)中符合要求的正整数,从小到大排序,每行一个。

Sample Input Copy

120

Sample Output Copy

1
106