1235 - 【入门】输出是2的倍数,但非3的倍数的数

请从键盘读入一个整数n,输出1~n中所有是2的倍数,但非3的倍数的数,每行1个。

比如,读入一个整数10,输出结果如下:

2
4
8
10

Input

一个整数n。

Output

按要求输出1~n中满足条件的整数,每行1个。

Examples

Input

10

Output

2
4
8
10

Source

简单循环

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题