a =input()
N, H=a.split(\n)
H=H.split()

def hoge(N,H):
    ar = 0
    for i in H:
        if i >= asr:
            count += 1
            ar = i
    return count

def main():
    hoge(N,H)

if __name__ == '__main__':
    main()
