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

#610. List: number of negative elements

You are given a list of integers. Find its **number of negative elements**. ### Input The first line has n, the second line has n integers separated by spaces. ### Output The answer.

Examples

Input
9
-93 75 12 -29 -57 74 71 68 -33
Output
4
Input
2
-64 -93
Output
2

💡 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!