UVA927 Integer Sequences from Addition of Terms

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=868 [PDF](https://uva.onlinejudge.org/external/9/p927.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA927/2a7b4be00ca0a42564c3c7237210de4910cec365.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA927/bd6538b1e49aa9420025153ebb8dc9228cb12ac1.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA927/a0feacde163599411de8ead5fa9f3dbb0a19370b.png)