Kaushik Varanasi's submission of ATM | CodeChef