Rosetta Problems

Percepts of AtCoder 2

https://atcoder.jp/contests/s8pc-6/tasks/s8pc_6_h