import numpy as np

X = np.array([int(x) for x in input().split()])

ans = np.ceil(np.mean(X))

print((int(ans)))
a, b = list(map(int, input().split()))

from math import ceil

print((ceil((a+b)/2)))
import numpy as np

X = np.array([int(x) for x in input().split()])
ans = np.ceil(np.mean(X))
print((int(ans)))

a, b = list(map(int, input().split()))
from math import ceil

print((ceil((a + b) / 2)))

-import numpy as np +a, b = list(map(int, input().split())) +from math import ceil -X = np.array([int(x) for x in input().split()]) -ans = np.ceil(np.mean(X)) -print((int(ans))) +print((ceil((a + b) / 2)))