This problem is in Contest(s) below:
Contest 4742:湖州第三天(2)if嵌套和初识循环