Mohd Aijaj Khan's submission of ATM | CodeChef