1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env python3 import sys, re count=0 for line in sys.stdin: a,b,c=[int(x) for x in re.findall(r"\d+",line)] if a+b+c>2*max(a,b,c): count+=1 print(count)