Rosetta Problems

Shuffle

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