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

ave = (a+b)/2

if ave%1 != 0:

    print((int(ave+1)))

else:

    print((int(ave)))
import math

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

print((math.ceil((a+b)/2)))
a, b = list(map(int, input().split()))
ave = (a + b) / 2
if ave % 1 != 0:
    print((int(ave + 1)))
else:
    print((int(ave)))

import math

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

+import math + -ave = (a + b) / 2 -if ave % 1 != 0: -    print((int(ave + 1))) -else: -    print((int(ave))) +print((math.ceil((a + b) / 2)))