Rosetta Problems

What is the Bottommost?

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