UVA10238 Throw the Dice

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1179 [PDF](https://uva.onlinejudge.org/external/102/p10238.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10238/d7e947747c918b3b048860b60afe46cd65cd259d.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10238/6c4513d6ce7ef17513e86efef0d5b5a42ade18cb.png)