Bhuvnesh 's submission of ATM | CodeChef