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())
c=(a+b)/2
d=(a+b)//2
if (d+0.5)<=c:
    print(d)
else:
    print(d-1)
import math
a,b=map(int,input().split())
c=(a+b)/2
print(math.ceil(c))