UVA13105 Alliances in Hogwarts
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=871&page=show_problem&problem=5016
[PDF](https://uva.onlinejudge.org/external/131/p13105.pdf)

Input Format

Output Format
