This problem is in Contest(s) below:
Contest 1000:2018婺城区中小学创意编程试题(小学组)
Contest 1013:2018婺城区中小学创意编程试题(初中组)