Problems from Waterloo/Alberta Programming Contest 2005-06-11