Rosetta Problems

Intercept the Spaceship

https://atcoder.jp/contests/awc0107/tasks/awc0107_a