Rosetta Problems

LCM of GCDs

https://atcoder.jp/contests/arc124/tasks/arc124_c