Rosetta Problems

1 年生 (A First Grader)

https://atcoder.jp/contests/joi2011yo/tasks/joi2011yo_d