avinash soni's submission of Substring | CodeChef