Nikhil Kumar's submission of Unit GCD | CodeChef