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

Untitled

Untitled

Untitled