Problem2228--【入门】输出满足条件的整数4

2228: 【入门】输出满足条件的整数4

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

Description

输出1-n中含有数字3或者含有数字5,且因数有2(即能被2整除)的所有整数。(n < 1000)

Input

从键盘输入一个整数n。

Output

输出满足条件的整数,每行一个

Sample Input Copy

50

Sample Output Copy

30
32
34
36
38
50

Source/Category