apple pie's submission of Fake GCD | CodeChef