UVA952 Uno game

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=893 [PDF](https://uva.onlinejudge.org/external/9/p952.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA952/0d2a2421a3b4e185114f6fb46170115fa4fff6eb.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA952/85029b356801a7f83cb11e0aaf53db56d5f1f0c6.png)