UVA11959 Dice

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3110 [PDF](https://uva.onlinejudge.org/external/119/p11959.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11959/732f5eb93db5a06d40b37cc0642221f4821d4c21.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11959/80e6495cf52ddfa08ffda8bd0d53a89be708b717.png)

Output Format

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