Line
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...
Input
The first line contains the number of students in the class. Then a nonincreasing sequence of positive integers is given — the height of each person in a line. Then Peter's height is given. All numbers do not exceed .
Output
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.
Examples
Input #1
Answer #1
Submissions 7K
Acceptance rate 39%