UVA10503 The dominoes solitaire
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1444
[PDF](https://uva.onlinejudge.org/external/105/p10503.pdf)

Input Format

Output Format
