Ayush Jaggi's submission of ATM | CodeChef