Rosetta Problems

星座 3 (Constellation 3)

https://atcoder.jp/contests/joisc2020/tasks/joisc2020_g