N=gets.to_i a0=gets.to_i no=1 puts no (N-1).times{ no += 1 if gets.to_i > a0 puts no }