Abhinav Jain's submission of ARRAY AND THE GATE | CodeChef