n=int(input()) a=input().split() a=list(map(int,a)) x=int(input()) a=sorted(a) a.reverse() m=a.index(x) print(m+1) /************************************************************** Problem: 1454 User: admin Language: Python Result: Accepted Time:98 ms Memory:34480 kb ****************************************************************/