Tony Wang's submission of Nice SubSegments | CodeChef