https://www.acmicpc.net/problem/1038

Untitled

Untitled