Bear and Segments | CodeChef