manas agrawal's submission of Unit GCD | CodeChef