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())

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

if (a + b) % 2 == 0:
  print(int((a + b) / 2))
else:
  print(int((a + b + 1) / 2))