Rosetta Problems

しりとり (Shiritori)

https://atcoder.jp/contests/joisc2011/tasks/joisc2011_shiritori