Kefa decided to make some money doing business on the Internet for exactly n days. He knows that on the i-th day (1 ≤ i ≤ n) he makes ai money. Kefa loves progress, that's why he wants to know the length of the maximum non-decreasing subsegment in sequence ai. Let us remind you that the subsegment of the sequence is its continuous fragment. A subsegment of numbers is called non-decreasing if all numbers in it follow in the non-decreasing order.

Help Kefa cope with this task!

Input

The first line contains integer n (1 ≤ n ≤ 105).

The second line contains n integers a1, a2, ..., an (1 ≤ ai ≤ 109).

Output

Print a single integer — the length of the maximum non-decreasing subsegment of sequence a.

Examples

Input

6
2 2 1 3 4 1


Output

3

Input

3
2 2 9


Output

3

Note

In the first test the maximum non-decreasing subsegment is the numbers from the third to the fifth one.

In the second test the maximum non-decreasing subsegment is the numbers from the first to the third one.
#!/usr/bin/env python
# 580A_steps.py - Codeforces.com/problemset/problem/580/A by Sergey 2015

import unittest
import sys

###############################################################################
# Steps Class (Main Program)
###############################################################################


class Steps:
    """ Steps representation """

    def __init__(self, test_inputs=None):
        """ Default constructor """

        it = iter(test_inputs.split("\n")) if test_inputs else None

        def uinput():
            return next(it) if it else sys.stdin.readline().rstrip()

        # Reading single elements
        [self.n] = map(int, uinput().split())

        # Reading a single line of multiple elements
        self.nums = list(map(int, uinput().split()))

    def calculate(self):
        """ Main calcualtion function of the class """

        maxsf = 0
        maxc = 0

        for i in range(len(self.nums)):
            if i != 0:
                if self.nums[i] >= self.nums[i-1]:
                    maxc += 1
                    maxsf = max(maxsf, maxc)
                else:
                    maxc = 0

        return str(maxsf+1)

###############################################################################
# Unit Tests
###############################################################################


class unitTests(unittest.TestCase):

    def test_single_test(self):
        """ Steps class testing """

        # Constructor test
        test = "6\n2 2 1 3 4 1"
        d = Steps(test)
        self.assertEqual(d.n, 6)
        self.assertEqual(d.nums[0:3], [2, 2, 1])

        # Sample test
        self.assertEqual(Steps(test).calculate(), "3")

        # Sample test
        test = "3\n2 2 9"
        self.assertEqual(Steps(test).calculate(), "3")

        # Sample test
        test = "2\n0"
        self.assertEqual(Steps(test).calculate(), "1")
        test = "2\n0 0"
        self.assertEqual(Steps(test).calculate(), "2")
        test = "3\n0 -1 1 1"
        self.assertEqual(Steps(test).calculate(), "3")

        # My tests
        test = ""
        # self.assertEqual(Steps(test).calculate(), "0")

        # Time limit test
        # self.time_limit_test(5000)

    def time_limit_test(self, nmax):
        """ Timelimit testing """
        import random
        import timeit

        # Random inputs
        test = str(nmax) + " " + str(nmax) + "\n"
        numnums = [str(i) + " " + str(i+1) for i in range(nmax)]
        test += "\n".join(numnums) + "\n"
        nums = [random.randint(1, 10000) for i in range(nmax)]
        test += " ".join(map(str, nums)) + "\n"

        # Run the test
        start = timeit.default_timer()
        d = Steps(test)
        calc = timeit.default_timer()
        d.calculate()
        stop = timeit.default_timer()
        print("\nTimelimit Test: " +
              "{0:.3f}s (init {1:.3f}s calc {2:.3f}s)".
              format(stop-start, calc-start, stop-calc))

if __name__ == "__main__":

    # Avoiding recursion limitaions
    sys.setrecursionlimit(100000)

    if sys.argv[-1] == "-ut":
        unittest.main(argv=[" "])

    # Print the result string
    sys.stdout.write(Steps().calculate())
