Rosetta Problems

JAG Practice Contest

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