Kaushal's submission of ATM | CodeChef