Rosetta Problems

Affine Sort

https://atcoder.jp/contests/arc126/tasks/arc126_f