Karthik's submission of Sum of pairs | CodeChef