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())
print((a+b+0.5)//2)
a, b = map(int, input().split())
print((a + b + 1) // 2)