timewillcome's submission of ATM | CodeChef