5505: 暑期营第四天 buc

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

Description

Input

输入三个数Q.P.N。分别表示新租的两个仓库的容量和仓库容量。

Output

输出一行。从小到大输出最初的仓库可能的金坷垃数量。(本题的金坷垃单位,全部为kg

Sample Input Copy

8 9 10

Sample Output Copy

1 2 8 9 10

HINT