UVA10822 Planet of the Rock, Paper and Scissors

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1763 [PDF](https://uva.onlinejudge.org/external/108/p10822.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10822/80c8982292e39685cb9169b6ed282d23bdf069ea.png)

Input Format

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

Output Format

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