This problem is in Contest(s) below:
Contest 5319:AK张老师 入门B班 while 深入课堂练习
Contest 5307:AK张老师 入门A班 while 家庭作业