A screwy solution to Google code jam problem 1: http://code.google.com/codejam/contest/32003/dashboard#s=p0