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