Rosetta Problems

Take the 'IOI' train

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