Arvind Rachuri's submission of ATM | CodeChef