UVA10252 Common Permutation
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1193
[PDF](https://uva.onlinejudge.org/external/102/p10252.pdf)

Input Format

Output Format
