CodeLab Academy 📞 9936 6696
← List Python · Level 8: Nested loops Code · 80 points ← #777 #779 →

#778. Rows with a sum greater than 10

How many rows have a sum of elements greater than 10? ### Input The first line has n m (the number of rows and columns), each of the next n lines has m integers. ### Output A number.

Examples

Input
2 5
-5 1 -1 12 11
-4 4 12 -10 -2
Output
1
Input
3 4
11 8 -3 5
-7 0 7 9
-7 -6 1 -9
Output
1

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