This problem is in Contest(s) below:
Contest 1763:小学组第一天
Contest 1244:语言基础第二天