UVA13063 Trading Card Game

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=866&page=show_problem&problem=4961 [PDF](https://uva.onlinejudge.org/external/130/p13063.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13063/e1dde767a0e8e2ea52954548ecd880909aa59874.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13063/5a96a17f78f826fc0eb3f31edca6df4f16a8a4b6.png)