Nemish Sangani's submission of Bear and Segments | CodeChef