This problem is used in private contest:循环结构