Start commit for Magic Trick problem - https://code.google.com/codejam/contest/dashboard?c=2974486#s=p0