UVA10014 Simple calculations

Description

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

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10014/232f7fe909a4abb3157282ab900f3515b1318223.png)

Output Format

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