gets
h = gets.split(" ").map(&:to_i)

ans = 0
i = 0

while i < h.size do
  _h = h[i]
  j = i + 1
  a = 0
  while j < h.size && h[j] <= _h do
    a += 1
    _h = h[j]
    j += 1
  end

  i = j
  ans = a if a > ans
end

puts ans
