Rosetta Problems

鉛筆 (Pencils)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/887