Rosetta Problems

Young, Poor and Busy

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