This problem is in Contest(s) below:
Contest 1031:2019년도 제6회 프로그래밍 경시대회 (문제출제검토용)