Rosetta Problems

Choosing Points

https://atcoder.jp/contests/agc025/tasks/agc025_d