N = int(input()) a = [int(input()) for _ in range(N)] now = 1 for i in a: if i > a[0]: now += 1 print(now)