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.

import functools
import logging
import os
import sys
import time
from typing import List

logger = logging.getLogger()
reader = sys.stdin

# Need to define DEBUGGING variable when run locally
is_judge = os.getenv("DEBUGGING") is None


def timeit(func):
    @functools.wraps(func)
    def timed(*args, **kwargs):
        if is_judge:
            rv = func(*args, **kwargs)
        else:
            ts = time.time()
            rv = func(*args, **kwargs)
            te = time.time()

            logger.debug("performance %r %2.2fms", func.__name__, (te - ts) * 1000)
        return rv
    return timed


def read_ints():
    return [int(v) for v in reader.readline().strip().split(" ")]

# ----------------------
# -     /SOLUTION      -
# ----------------------


@timeit
def main():
    n = read_ints()
    a = read_ints()
    res = 0
    cur_seq = 0
    pv = None
    for v in a:
        if pv is None or v >= pv:
            cur_seq += 1
            res = max(cur_seq, res)
        else:
            cur_seq = 1
        pv = v
    print(res)

# ----------------------
# -     \SOLUTION      -
# ----------------------


def setup():
    global logger, reader

    if is_judge:
        logger.setLevel(logging.WARNING)
    else:
        # Format logger
        handler = logging.StreamHandler(sys.stdout)
        handler.setLevel(logging.DEBUG)
        formatter = logging.Formatter("{asctime}s - {message}", style='{')
        handler.setFormatter(formatter)

        logger.addHandler(handler)
        logger.setLevel(logging.DEBUG)

        # Stdin from file
        reader = open("input.txt")


if __name__ == '__main__':
    setup()
    try:
        main()
    except KeyboardInterrupt:
        logger.debug("KeyboardInterrupt")
    except IOError as e:
        logger.error(f"I/O error({e.errno}): {e.strerror}")

