4256: 余数为1

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

Description

输入一个正整数n
找出同时被2、3、5除时余数为1的最小的十个数(大于等于n)。


Input

正整数n

Output

一行,从小到大输出十个整数。


Sample Input Copy

2

Sample Output Copy

31 61 91 121 151 181 211 241 271 301