Vishwa Prakash Gayasen's submission of ATM | CodeChef