UVA11433 The Dicey Dice

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2428 [PDF](https://uva.onlinejudge.org/external/114/p11433.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11433/4f22f69e3939da6d9e483f3df77484357feaef43.png)

Input Format

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

Output Format

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