Vaibhav Agarwal's submission of ATM | CodeChef