UVA10035 Primary Arithmetic

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=976 [PDF](https://uva.onlinejudge.org/external/100/p10035.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10035/4912fde896c134c96a2c0c8fc4dc6d8783169b40.png)

Input Format

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

Output Format

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