Shubhank Mishra's submission of ATM | CodeChef