Rosetta Problems

戦争 (Prediction of the war)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/587