4692: B3752 [信息与未来 2019] 新斐波那契数列

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

Description

Input

Output

Sample Input Copy

2
9
123

Sample Output Copy

2 9
3 8
4 4
2 123
3 122
4 61
6 24
10 3

HINT