Practice Programming Contest 3