apple pie's submission of Odd GCD | CodeChef