UVA10103 Karpovich blocks
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1044
[PDF](https://uva.onlinejudge.org/external/101/p10103.pdf)

Input Format

Output Format
