Array and Segments (Easy version)

Problem Name:
Array and Segments (Easy version)
Site:CodeForces
Links:
Tags:
Problem setters: