Rosetta Problems

負けが勝ち

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