Akash Jain's submission of Rich Substrings | CodeChef