Rosetta Problems

Princess, a Strategist

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