Janmansh Agarwal's submission of Unit GCD | CodeChef