r=1 a=STDIN.read.split.map{|e| e.to_i} puts (1..a[0]).collect{|e| r=r+((a[e]>a[1])?1:0) }