sl170030258's submission of ATM | CodeChef