Rohit Goyal's submission of Good Indices | CodeChef