UVA10733 The Colored Cubes
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=19&page=show_problem&problem=1674
[PDF](https://uva.onlinejudge.org/external/107/p10733.pdf)

Input Format

Output Format
