UVA253 骰子涂色 Cube painting

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=189 [PDF](https://uva.onlinejudge.org/external/2/p253.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA253/1c9abce0f1a507a48e38a4484ab8a714d0ec36cb.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA253/423b454e186449225d0e46a032f3b73c84b4532f.png)

Output Format

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