This problem is in Contest(s) below:
Contest 1874:x4
Contest 1213:武进区第8届小学生程序设计竞赛
Contest 1633:WJOI2015