Rosetta Problems

The Last One is the Best

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