You are given two positive integers a and b. Let x be the average of a and b. Print x rounded up to the nearest integer.
a, b = map(int, input().split())
x = (a + b)/2
y = int(x)
if x-y == 0:
    print(x)
else:
    z = int(x) + 1
    print(z)
a, b = map(int, input().split())
x = (a + b)/2
y = int(x)
if x-y == 0:
    print(int(x))
else:
    z = int(x) + 1
    print(z)