Too Many Segments (easy version)

Problem Name:
Too Many Segments (easy version)
Site:CodeForces
Links:
Tags:
Problem setters: