from math import ceil

from statistics import mean



ab = list(map(int, input().split()))

print((ceil(mean(ab))))

from math import ceil

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

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

from math import ceil
from statistics import mean

ab = list(map(int, input().split()))
print((ceil(mean(ab))))

from math import ceil

a, b = list(map(int, input().split()))
print((ceil((a + b) / 2)))

-from statistics import mean -ab = list(map(int, input().split())) -print((ceil(mean(ab)))) +a, b = list(map(int, input().split())) +print((ceil((a + b) / 2)))