The GCD and LCM problem

Problem Name:
The GCD and LCM problem
Site:HackerEarth
Links:
Tags: