UVA11952 Arithmetic

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3103 [PDF](https://uva.onlinejudge.org/external/119/p11952.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11952/5ab514dde2fd3da5ca59df2672ecfcdff071d9b9.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11952/6a03582572702ab8434e2b106fe1d8776e964fa8.png)

Output Format

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