UVA130 Roman Roulette

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=66 [PDF](https://uva.onlinejudge.org/external/1/p130.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA130/caee382d0a44b73c133d86736efebb87c565fd81.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA130/2fd7d5a7becb6e3c9198792129aea585cf60d396.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA130/7119a2af354945bcc0ae14333eecfa0ba1f0c8b0.png)