UVA11203 Can you decide it for ME?

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2144 [PDF](https://uva.onlinejudge.org/external/112/p11203.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11203/b6d49ca4a435471e1743454729f5bcf96c2c5a63.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11203/77249114233c155269498642270121306c8e51db.png)

Output Format

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