Rosetta Problems

鉛筆 (Pencils)

https://atcoder.jp/contests/joi2018yo/tasks/joi2018_yo_a