Rosetta Problems

レシート

https://atcoder.jp/contests/joi2010yo/tasks/joi2010yo_a