This problem is in Contest(s) below:
Contest 1329:【YH27Z】08 for循环结构练习二
Contest 1398:【YH28】08 for循环-练习二
Contest 1017:2016永兴初一编程比赛
Contest 1018:2016银湖初一编程比赛