Mohammad Asad Ansari's submission of GCD2 | CodeChef