This problem is used in private contest:61竞赛