Rosetta Problems

GCD Permutation

https://atcoder.jp/contests/abc230/tasks/abc230_g