Lallu Mishra's submission of ATM | CodeChef