Rosetta Problems

日本国旗 (Japanese Flag)

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