Andrea is wise, rich, noble, famous, sacred, sociable, powerful, diligent and intelligent, so she has a lot of friends. However, she has got bored and she wants to reduce the number of her friends.
Andrea has listed the names of
Can you find out the maximal length of an religious interval?
The first line contains an integer
The second line contains
Print a single integer — the maximal length.
5
6 4 2 5 1
3
4
10 5 2 8
3
8
78 45 12 234 54 3 55 465
6
For 10% testcases,
For 20% testcases,
For 30% testcases,
For 90% testcases,
For 100% testcases,