UVA10149 Yahtzee

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1090 [PDF](https://uva.onlinejudge.org/external/101/p10149.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10149/70e3769195f0623223d5625c58977c3f120c6e39.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10149/8525d7cb8b771b92487a272928e1e988824a72e9.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10149/46ec899d0b419154d94d9728d941767fc64d6339.png)