231a codeforces solution in python code example
Example: 231a codeforces solution in python
n = int(input())
count = 0
for i in range(0, n):
x = input()
if x.count('1') >= 2:
count += 1
print(count)
n = int(input())
count = 0
for i in range(0, n):
x = input()
if x.count('1') >= 2:
count += 1
print(count)