Rosetta Problems

Save the Monsters

https://atcoder.jp/contests/wtf22-day1-open/tasks/wtf22_day1_a