Rosetta Problems

Tea time in the grand garden

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