Aaditya Maheshwari's submission of GCD2 | CodeChef