Rakshit's submission of ATM | CodeChef