UVA11444 Sum

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2439 [PDF](https://uva.onlinejudge.org/external/114/p11444.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11444/899ad3ae9cf07aa9f0986d650dd9d623a659a2f5.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11444/42265bdcfc6304931104d335a05f7cbeb9c83f44.png)

Output Format

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