summaryrefslogtreecommitdiff
path: root/2016/3a.py
blob: adc7f607cdbd23cd94e7f3f0fc32805828fcdfe6 (plain)
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)