#t80. 简单排序2

简单排序2

Simple Sort 2

Problem Description

In last week's HHXL Elementary School fourth-grade  1000 \,1000\,-metre freestyle swimming competition,  n(0<n≤100) \,n(0 \lt n \le 100)\, students took part enthusiastically. Their finishing times for the  1000 \,1000\, metres are all distinct. Please figure out what place Little  J \,J\, ranks!

Input Format

Line  1 \,1\,:  1 \,1\, positive integer  n \,n\,, the number of participants.

Line  2 \,2\,:  n \,n\, consecutive positive integers, the seconds each swimmer took to finish the  1000 \,1000\, metres, all in the range  [1,600] \,[1, 600]\,.

Line  3 \,3\,:  1 \,1\, positive integer  m \,m\,, the seconds Little  J \,J\, took to finish the  1000 \,1000\, metres.

Output Format

Output  1 \,1\, positive integer: Little  J \,J\,'s rank.

Sample Input

5
50 55 30 59 43
43

Sample Output

2