This problem is in Contest(s) below:
Contest 1205:基础练习(新初一和新初二)
Contest 1316:2018小六 循环训练