Suryakant Bharti's submission of ATM | CodeChef