6 lines
110 B
Python
6 lines
110 B
Python
a, b = 0, 0
|
|
for _ in range(4) :
|
|
x, y = map(int, input().split())
|
|
a += (y-x)
|
|
b = max(b, a)
|
|
print(b) |