Rosetta Problems

Aizu Chicken

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