Problems from Waterloo Programming Contest 2006-09-30