This problem is in Contest(s) below:
Contest 1888:少年宫1