CodeLab Academy 📞 9936 6696
← List Python · Level 7: Lists Code · 70 points ← #657 #659 →

#658. Longest increasing part

Find the length of the longest part of the list (elements in a row) that is strictly increasing. ### Input The first line has n, the second line has n integers separated by spaces. ### Output A number.

Examples

Input
2
3 16
Output
2
Input
12
20 5 6 0 16 6 14 3 6 15 15 5
Output
3

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!