UVA10328 Coin Toss

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1269 [PDF](https://uva.onlinejudge.org/external/103/p10328.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10328/79179092b3e0642a6c5e276c376ecc97c711e80c.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10328/18b008ffc8ae086f399e7a71e233f58aa71d6a57.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10328/1cb895d961b7af0768846a0da986eb4618beedf3.png)