Very easy

Execution time limit is 1 second

Runtime memory usage limit is 128 megabytes

Peter Vasichkin moved to another school. At the gym class he needs to find his place in the row...

The first line contains the number $n$ of students in the class. Then a nonincreasing sequence of $n$ positive integers is given — the height of each person in a line. Then Peter's height $x$ is given. All numbers do not exceed $200$.

Print the number under which Peter should stand in a line. If there are people with the same height as Peter has, then Peter should stand after them.

Input #1

Answer #1