#P1002. 逢七必过游戏

逢七必过游戏

Description

Game rules: The first person starts with a number within ten, after which each person must say a number one higher than the previous person until the target number is reached. If a number contains 7 or is divisible by 7, then the number should have been said. Otherwise you should say the number. (All numbers less than 100)

Example: There are four people, the agreed number is 8, starting from A, A said 3, B said 4, C said 5, D said 6, A said, B said 8, reached the agreed number, the game is over.

Input

Two data, the number said by the first person and the agreed number, where the number said by the first person must meet the following three conditions:

It's not divisible by 7 Numbers up to ten (excluding ten) Can't be bigger than the target number If either condition is not met, the game cannot be played.

Output

All the numbers in the agreed number. (One number in a row). If the number said by the first person does not satisfy the condition, output "cannot proceed"

9 14
9
10
11
12
13
过
7 10
无法进行
8 6
无法进行
13 18
无法进行
6 18
6
过
8
9
10
11
12
13
过
15
16
过
18