Rosetta Problems

塗り箸 (Chopsticks)

https://atcoder.jp/contests/joisc2009/tasks/joisc2009_chopsticks