Shivam Attri's submission of ATM | CodeChef