e-olymp

Rank

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

Input

The first is the number n of students in the class. Then goes nonincreasing sequence of n numbers, meaning the growth of each person in line. After that given the growth x of Peter. All numbers are natural and do not exceed 200.

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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
8
165 163 160 160 157 157 155 154 
162
Output example #1
3
Input example #2
8
165 163 160 160 157 157 155 154 
160
Output example #2
5
Source Stage II Ukrainian School Olympiad 2011-2012, Berdichev