N = int(input()) ans = 1 K = int(input()) print(1) for i in range(N - 1): if int(input()) > K: ans += 1 print(ans)