Rosetta Problems

D. Call and Response

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/2022