9 lines
165 B
Python
9 lines
165 B
Python
#!/usr/bin/python3
|
|
import sys
|
|
import re
|
|
count = 0
|
|
for line in sys.stdin:
|
|
if re.search("^\d+\s\d+\s[a-z](\s\d+\.\d+){0,1}$", line):
|
|
count+=1
|
|
print(count)
|