UVA769 Magic of David Copperfield
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=710
[PDF](https://uva.onlinejudge.org/external/7/p769.pdf)

Input Format

Output Format
