gyh's submission of Unit GCD | CodeChef