Rosetta Problems
← atcoder に戻る
Back and Forth
https://atcoder.jp/contests/abc051/tasks/abc051_c