N = int( input() ) me = 0 cnt = 0 for i in range( N ): v = int( input() ) if i == 0: me = v if v > me: cnt += 1 print( cnt + 1 )