UVA10367 Equations

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1308 [PDF](https://uva.onlinejudge.org/external/103/p10367.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10367/ba420b1474afe5a81c23fa1a5de2bb7a6ed2a021.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10367/884ea9812344bdf5dcc57d830fe7dfecd54a4230.png)

Output Format

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