2104: 【入门】请输出带有特殊尾数的数

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

请输出1~n中所有个位为1、3、5、7中任意一个数的整数,每行1个。(n < 1000)

比如,假设从键盘读入20,输出结果如下:

1

3

5

7

11

13

15

17

Input

一个整数n。

Output

输出满足条件的数,每行1个。

Sample Input Copy

20

Sample Output Copy

1
3
5
7
11
13
15
17