Rosetta Problems

Reverse of Euclid

https://atcoder.jp/contests/tessoku-book/tasks/tessoku_book_dn