Karthik's submission of Mike and Matrices | CodeChef