1192: 输出m到n之间是3的倍数但不是5的倍数的整数

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

Description

输入两个整数M,N(M<N),试编写一程序输出这两个数之间是3的倍数但不是5的倍数的数(不包括M,N)

Input

两个整数M,N

Output

M,N之间为3的倍数但不为5的倍数的数

Sample Input Copy

2 29

Sample Output Copy

3 6 9 12 18 21 24 27