Problems from Waterloo Programming Contest 2003-09-20