Rosetta Problems

Halfway Through the Book

https://onlinejudge.u-aizu.ac.jp/problems/3642