#t80. 简单排序2
简单排序2
Simple Sort 2
Problem Description
In last week's HHXL Elementary School fourth-grade -metre freestyle swimming competition, students took part enthusiastically. Their finishing times for the metres are all distinct. Please figure out what place Little ranks!
Input Format
Line : positive integer , the number of participants.
Line : consecutive positive integers, the seconds each swimmer took to finish the metres, all in the range .
Line : positive integer , the seconds Little took to finish the metres.
Output Format
Output positive integer: Little 's rank.
Sample Input
5
50 55 30 59 43
43
Sample Output
2