This problem is used in private contest:循环控制