While writing this question the boys were sitting in the cinema, unfortunately, they arrived late and no chairs were left, so they had to stand in a line to watch the movie.
Your task is to find out if every person will be able to see the movie without being blocked by anyone taller than them, remember there are $N$ people each with a certain height and the screen is at index $0$.