djfz-2019/TaskX04/run
deadsmond 5e2b0ebca6 'hm'
2019-12-03 13:17:44 +01:00

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)