Rosetta Problems

Piano 2

https://atcoder.jp/contests/abc355/tasks/abc355_b