Rosetta Problems

school competition 1

https://atcoder.jp/contests/tkppc4-1/tasks/tkppc4_1_i