Substring and five rules Submissions | CodeChef