11 lines
296 B
Python
11 lines
296 B
Python
acumPoints = []
|
|
for i in range(5):
|
|
points = input()
|
|
points = points.split(' ')
|
|
points = list(map(int, points))
|
|
acumPoints.append(sum(points))
|
|
|
|
maxi = max(acumPoints)
|
|
position = [i for i, j in enumerate(acumPoints) if j == maxi]
|
|
print(str(position[0]+1) +' '+ str(maxi))
|