n = int(input()) a = int(input()) temp = 1 print(temp) for i in range(n-1): x = int(input()) if x > a: temp += 1 print(temp)