# 9(19) РТ

 avatar
user_8840555
python
a year ago
272 B
1
Indexable
Never
f = open(r'C:\Users\SnowDrit\Downloads\9\Новый текстовый документ.txt')
c = 0
for s in f:
    a = list(map(int, s.split()))
    if len(set(a)) == 5 and (min(a) + max(a)) * 2 <= (sum(a) - (min(a) + max(a))):
        c += 1
print(c)
# 9(19) РТ