Practice Programming Contest 4