Problem:
 Score : 100 points    Problem Statement 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.      Constraints  a and b are integers.  1 \leq a, b \leq 100         Input Input is given from Standard Input in the following format:  a  b       Output Print x rounded up to the nearest integer.        Sample Input 1 1 3      Sample Output 1 2  The average of 1 and 3 is 2.0 , and it will be rounded up to the nearest integer, 2 .       Sample Input 2 7 4      Sample Output 2 6  The average of 7 and 4 is 5.5 , and it will be rounded up to the nearest integer, 6 .       Sample Input 3 5 5      Sample Output 3 5

Solution (Python):
a,b = map(int, input().split())

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

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

Solution (Python):
print((sum(map(int,input().split()))+1)//2)

Solution (Python):

from math import ceil
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)


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

Solution (Python):
a, b = list(map(int, input().split()))
print((a+b+1)//2)

Solution (Python):
a, b = map(int, input().split())
print((a+b+1)//2)

Solution (Python):

from math import ceil

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

print(ceil((a+b)/2))

Solution (Python):
print((sum(map(int,input().split()))+1)//2)

Solution (Python):
a, b = map(int, input().split())
print((a + b + 1)//2)

Solution (Python):
a, b = map(int, input().split())
print(-(-(a + b)//2))

Solution (Python):
import math as m

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

Solution (Python):
a,b= map(int, input().split())

adivb =((a+b)//2) 
addition = ((a+b)%2)

print((adivb)+(addition))

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

Solution (Python):
print((sum(map(int,input().split()))+1)//2)

Solution (Python):
print((sum(map(int,input().split()))+1)//2)

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

Solution (Python):
import math
a,b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import math
a, b = list(map(int, input().split()))

x = math.ceil((a + b) / 2)
print(x)

Solution (Python):
a,b=map(int,input().split())
print(-~(a+b)//2)

Solution (Python):
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

a,b=map(int,input().split())
x=Decimal((a+b)/2).quantize(Decimal('0'), rounding=ROUND_HALF_UP)
print(x)

Solution (Python):
import math

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

print(ans)

Solution (Python):
import math
a,b=map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):

import math



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

print (math.ceil( (a+b)/2 ))

Solution (Python):
a, b = map(int, input().split())

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

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

Solution (Python):
a, b = map(int, input().split())
import numpy as np
print(int(np.ceil((a+b)/2)))

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

Solution (Python):
a, b = map(int, input().split())
x = a + b
print(-(-x//2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math
a,b = map(int, input().split())
c = int(math.ceil((a+b)/2))
print(c)

Solution (Python):
import math
a,b= map(int,input().split())
ans = (a+b)/2
print(math.ceil(ans))

Solution (Python):

import math

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

Solution (Python):
a,b = map(int,input().split())

x = a + b

if x % 2 == 0:
  x = x//2
else:
  x = (x+1)//2

print(x)

Solution (Python):
import math

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

print(math.ceil((a+b)/2))

Solution (Python):
def examA():
    a, b = LI()
    ans = (a+b+1)//2
    print(ans)


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Solution (Python):
import math

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

print(math.ceil((a + b) / 2))

Solution (Python):
import math

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

print(math.ceil((a + b)/2))

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

Solution (Python):
a,b = map(int,input().split())
print((a+b+1)//2)

Solution (Python):
from math import ceil

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

Solution (Python):
a, b = map(int, input().split())
avg = (a+b) /2
ans = avg*10 // 10
if (avg*10)%10 == 0:
  print(int(ans))
else:
  print(int(ans+1))

Solution (Python):


b, c = map(int, input().split())

print((b+c+1)//2)

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.readline
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    a,b=map(int, input().split())
    print((a+b+1)//2)

main()

Solution (Python):
a, b = map(int, input().split())
x = (a + b) / 2
import math
ans = math.ceil(x)
print(ans)

Solution (Python):
a,b=map(int, input().split()) 
print(int((a+b)/2+0.5))

Solution (Python):
from sys import stdin

a,b = [int(x) for x in stdin.readline().rstrip().split()]

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

Solution (Python):
import math as m
a,b =map(int,input().split())
print(m.ceil((a+b)/2))

Solution (Python):
a,b = map(int,input().split())



import math
print(math.ceil((a+b)/2))

Solution (Python):
import math
a, b = [int(x) for x in input().split()]
print(math.ceil((a+b)/2))

Solution (Python):
a, b = map(int, input().split())
print((a + b + 1) // 2)

Solution (Python):
def main():
  a, b = map(lambda i: int(i), input().split(' '))
  s = a + b
  print(int(s / 2) if s % 2 == 0 else int(s / 2) + 1)
  
main()

Solution (Python):
a=input()
a=[int(x) for x in a.split()]
print(-(-(a[0]+a[1])//2))

Solution (Python):
a = list(map(int,input().split()))
b = (a[0] + a[1]) // 2	
c = (a[0] + a[1]) % 2	
if c != 0:
	print(b + 1)
else:
	print(b)

Solution (Python):
import math

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

print(math.ceil((a + b) / 2))

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

Solution (Python):
import math
inputs = input().rstrip().split(' ')
a = int(inputs[0])
b = int(inputs[1])
print(math.ceil((a + b) / 2))

Solution (Python):
print((sum(map(int,input().split()))+1)//2)

Solution (Python):

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

Solution (Python):
import math
a,b=map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import sys

import math






def main():
    a, b = (int(x) for x in sys.stdin.readline().split())
    ans = math.ceil((a + b) / 2)
    print(ans)


if __name__ == "__main__":
    
    main()

Solution (Python):
import math
a,b = [int(i) for i in input().split()]

print(int(math.ceil((a+b)/2)))

Solution (Python):
a, b = map(int, input().split())
print(-((-a-b)//2))

Solution (Python):
import math
a,b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
from math import ceil
a,b = map(int,input().split())
print(ceil((a+b)/2))

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

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

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a,v=map(int,input().split())
print((a+v+1)//2)

Solution (Python):
a,b = map(int,input().split())
print(int((a + b + 1) // 2))

Solution (Python):
a,b = map(int,input().split())
print((a + b) - (a + b) // 2)

Solution (Python):

a, b = map(int, input().split())
s = int((a+b+1)/2.0)
print(s)

Solution (Python):
a, b = map(int, input().split())
print(-(-(a+b)//2))

Solution (Python):

from math import ceil

a, b = [int(s) for s in input().split()]
print(ceil((a + b) / 2))

Solution (Python):
x,y = map(int,input().split())
if (x + y) % 2 == 0:
    print((x+y)//2)
else:
    print((x+y+1)//2)

Solution (Python):
import math
a,b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b = map(int,input().split())
print((a+b)//2+(a+b)%2)

Solution (Python):
from sys import stdin
import math
a,b = [int(x) for x in stdin.readline().rstrip().split()]
print(math.ceil((a+b)/2))

Solution (Python):
i = list(map(int, input().split()))
x = -(-sum(i) // 2)
print(x)

Solution (Python):
import math
a,b = map(int,input().split())

print(math.ceil((a+b)/2))

Solution (Python):
a,b=map(int, input().split())
mean=(a+b)/2
print(round(mean+0.1))

Solution (Python):
a, b = map(int, input().split())
x = (a + b)
xx = -(-x // 2)
print(xx)

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a, b = map(int, input().split())

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

Solution (Python):
a, b = (int(x) for x in input().split())
c = int((a + b) / 2)
d = (a + b) / 2 - c
if d > 0:
  print(c + 1)
else:
  print(c)

Solution (Python):
a,b = map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math

a,b = map(int, raw_input().split())

print(int(math.ceil(float(a+b)/2)))

Solution (Python):
ab = input().rstrip().split(" ")
print(int(((int(ab[0]) + int(ab[1])) + 2 - 1) / 2))

Solution (Python):
ab = input().rstrip().split(" ")
print(int(((int(ab[0]) + int(ab[1])) + 2 - 1) / 2))

Solution (Python):
import math

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

print(math.ceil((a + b) / 2))

Solution (Python):
a,b = tuple(int(num) for num in input().split())

sum = a + b

if sum % 2:
  print((sum//2) + 1)
else:
  print(sum//2)

Solution (Python):
from math import ceil
a,b = map(int,input().split())
print(ceil((a+b)/2))

Solution (Python):
"""
author : halo2halo
date : 24,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

n, a = map(int, readline().rstrip().split())


ans = int((n+a+1)/2)

print(ans)

Solution (Python):
"""
author : halo2halo
date : 24,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

n, a = map(int, readline().rstrip().split())


print(int((n+a+1)/2) if (n+a) % 2 == 1 else int((n+a)/2))

Solution (Python):
a,b = map(int, input().split())
print(-(-(a+b)//2))

Solution (Python):
import math
a, b = map(int, input().split())
x = (a + b)/2
print(math.ceil(x))

Solution (Python):
import math
a,b = list(map(int,input().split(" ")))
print(math.ceil((a +b)/2))

Solution (Python):
import math
a,b = list(map(int,input().split(" ")))
print(math.ceil((a +b)/2))

Solution (Python):
import math
a,b = list(map(int,input().split(" ")))
print(math.ceil((a +b)/2))

Solution (Python):
import math as math
nums = input()
a, b = map(int, nums.split(" "))
print(math.ceil((a + b)/2))

Solution (Python):
import math
a,b = list(map(int,input().split(" ")))
print(math.ceil((a + b )/2))

Solution (Python):
a, b  = list(map(int, input().split()))
i, j = str((a+b)/2).split(".")
add = 0 if int(j) == 0 else 1                                                                                                                                                                                                                 
print(int(i)+add)

Solution (Python):
from math import*
a,b=map(float,input().split())
print(ceil((a+b)/2))

Solution (Python):
a, b = map(int, input().split())
c = (a + b + 1) // 2
print(c)

Solution (Python):
a, b =  map(int, input().split())
print(-(-(a + b) // 2))

Solution (Python):



import unittest
from io import StringIO
import sys


def input():
    return sys.stdin.readline().rstrip()


def resolve():
    a, b = map(int, input().split())
    print(-(-(a+b) // 2))


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """1 3"""
        output = """2"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """7 4"""
        output = """6"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """5 5"""
        output = """5"""
        self.assertIO(input, output)


if __name__ == "__main__":
    
    resolve()

Solution (Python):
import math
a,b=map(int, input().split())
print(math.ceil((a+b)/2))

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

Solution (Python):
a,b=map(lambda x: int(x), input().split())
print(int((a+b+1)/2))

Solution (Python):
a,b=map(int,input().split())
print((a+b+1)//2)

Solution (Python):

import math

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

avg = (a + b) / 2

print(math.ceil(avg))

Solution (Python):
a, b = (int(x) for x in input().split())

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

Solution (Python):
a,b = map(int,input().split())
print((a+b+1)//2)

Solution (Python):
a,b = (int(x) for x in input().split())

import math
print(math.ceil((a+b)/2))

Solution (Python):
a,b = map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a, b = map(int, input().split())
import math
print(math.ceil((a+b)/2))

Solution (Python):
a, b = map(int, input().split())
import math
print(math.ceil((a+b)/2))

Solution (Python):
a,b = map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b = map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math
a,b = map(int, input().split())
x = (a + b) / 2
print(math.ceil(x))

Solution (Python):
import math
a, b = map(int, input().split())

print(math.ceil((a+b)/2))

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

Solution (Python):
from math import ceil

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

print(ceil((a + b) / 2))

Solution (Python):
a,b=map(int,input().split())
print(-~(a+b)//2)

Solution (Python):
a,b = list(map(int,input().split()))
print(((a+b+1)//2))

Solution (Python):
import math
print(math.ceil(sum(map(int, input().split()))/2))

Solution (Python):
a, b = map(int, input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b=map(int,input().split())
print((a+b+1)//2)

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):

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

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

else:
    print(int((a + b + 1) / 2))

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

Solution (Python):
a, b = map(int,input().split())
ave = int((a+b)/2)
if abs(ave - (a+b)/2)==0:
    print(int((a+b)/2))
else:
    print(int((a+b)/2)+1)

Solution (Python):
import math
a, b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):

import math
a,b = map(float,input().split())
x = (a+b)/2
print(math.ceil(x))

Solution (Python):
import math
a,b=map(int,input().split())
x = math.ceil((a+b)/2)
print(x)

Solution (Python):
a,b = map(int,open(0).read().split())

print(-(-(a + b) // 2))

Solution (Python):
a, b = map(int, input().split())

c = a + b

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

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

Solution (Python):
import math
a,b=map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import math
a,b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import math

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

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a + b) / 2))

Solution (Python):
import math
a,b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a + b)/2))

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

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

Solution (Python):
from math import ceil

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

Solution (Python):
def ceil(a):
  if int(a) == a:
    return int(a)
  else:
    return int(a) + 1

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

print(ceil((a+b)/2))

Solution (Python):
import math
a,b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
import math
INPUT = list(map(int,input().split()))
a=INPUT[0]
b=INPUT[1]

print(math.ceil((a+b)/2))

Solution (Python):
a,b=[int(s) for s in input().split()]
print(int((a+b+1)/2))

Solution (Python):
import math

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

print(math.ceil((a+b)/2))

Solution (Python):
import math

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

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b=INTM()
    print(int((a+b)/2+(a+b)%2))
if __name__ == '__main__':
    do()

Solution (Python):
import math
a,b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a, b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

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

Solution (Python):
a, b = map(int, input().split())
x = (a*1.0+b)/2
if x%1 == 0:
    print(int(x))
else:
    z = x//1 + 1
    print(int(z))

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

Solution (Python):
print(-(-sum(map(int,input().split()))//2))

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

Solution (Python):
a,b = map(int,input().split())
print(-((-a-b)//2))

Solution (Python):
import math
a, b = tuple(map(int, input().split()))
x = math.ceil((a + b) / 2)
print(x)

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
x,y = map(int,input().split())
print(( x + y + 1 ) // 2)

Solution (Python):
def aa082():
    import math
    a,b = list(map(int, input().split()))
    print(math.ceil((a+b)/2))

aa082()

Solution (Python):
a,b=map(int,input().split())

print(-(-(a+b)//2))

Solution (Python):
import math

a,b=map(int,input().split())
x=(a+b)/2

print(math.ceil(x))

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    t = sum(list(map(int, input().rstrip('\n').split())))
    print((t + 1) // 2)


if __name__ == '__main__':
    slove()

Solution (Python):
import math
a, b = tuple(map(int, input().split()))
x = math.ceil((a + b) / 2)
print(x)

Solution (Python):
import sys
import math

input = sys.stdin.readline


def main():
    a, b = map(int, input().split())
    print(math.ceil(sum([a, b]) / 2))


if __name__ == "__main__":
    main()

Solution (Python):
a,b=map(int,input().split())
s = a+b

if s %2 == 0:
    print(s//2)
else:
    print(s//2+1)

Solution (Python):
a, b = map(int, input().split())

print(-(-(a + b) // 2))

Solution (Python):
import math
a, b = map(int, input().split())

print(math.ceil((a + b) / 2))

Solution (Python):
a,b=map(int,input().split())

print((a+b+1)//2)

Solution (Python):
import math

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

Solution (Python):
a,b = map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math

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

print(math.ceil((a+b)/2))

Solution (Python):
print(-(-sum(map(int,input().split()))//2))

Solution (Python):
a,b = map(int, input().split())

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

Solution (Python):
a,b=map(int,input().split())
import math
print(math.ceil((a+b)/2))

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

Solution (Python):
x, y = map(int, input().split())
print(-(-(x+y)//2))

Solution (Python):
import math
a, b = map(int, input().split())
z = (a+b)/2
print(math.ceil(z))

Solution (Python):
import math

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

print(math.ceil((a+b)/2))

Solution (Python):
import math
a, b = map(int, input().split())
mean_ab = (a + b) / 2.0
print(math.ceil(mean_ab))

Solution (Python):
import math
a,b=map(int,input().split())

x=(a+b)/2
print(math.ceil(x))

Solution (Python):
a, b = map(int, input().split())
print(int((a+b+1)/2))

Solution (Python):
import math
a, b = map(int,input().split())
x = (a + b)/2
print(math.ceil(x))

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

Solution (Python):
a, b = map(int, input().split())
print(-(-(a+b) // 2))

Solution (Python):
a,b = map(int, input().split())
print(-(-(a+b)//2))

Solution (Python):
import math
 
A,B = map(int,input().split())
 
print(math.ceil((A+B)/2))

Solution (Python):

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

Solution (Python):
import sys
import math
input = sys.stdin.readline

x,y = map(int,input().split())

a = float((x + y) / 2)

print(math.ceil(a))

Solution (Python):
import math

A,B = map(int,input().split())

print(math.ceil((A+B)/2))

Solution (Python):
import math
print(math.ceil((sum(list(map(int,input().split()))))/2))

Solution (Python):
a,b = map(int,input().split())
x = (a+b)/2
if int(x) == x:
    print(int(x))
else:
    print(int(x)+1)

Solution (Python):
a, b = map(int, input().split())

print((a+b+1)//2)

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math
a,b =map(int,input().split())
ave = (a+b)/2
print(math.ceil(ave))

Solution (Python):
a,b = map(int,input().split())
import math

x = (a+b)/2
print(math.ceil(x))

Solution (Python):
a,b=map(int,input().split());print(-(-(a+b)//2))

Solution (Python):
a, b = map(int, input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b=map(int,input().split())
print((a+b+1)//2)

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a + b) / 2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b) // 2))

Solution (Python):
import math
a,b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
a,b=map(int,input().split())
import math
c=(a+b)/2
print(math.ceil(c))

Solution (Python):
import math
a, b = map(int, input().split())
x = (a + b) / 2
print(math.ceil(x))

Solution (Python):
import math
s = list(map(int, input().split()))
print(math.ceil(sum(s) / len(s)))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
x=list(input().split())
x1=int(x[0])
x2=int(x[1])

ave=-(-(x1+x2)//2)
print(ave)

Solution (Python):
from math import ceil
a, b = map(int, input().split())
print(ceil((a+b)/2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math

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

print(math.ceil((a + b) / 2))

Solution (Python):


def resolve():
  a, b = map(int, input().split())
  x = int(((a + b) / 2.0) + 0.5)
  print(x)


if __name__ == "__main__":
    resolve()

Solution (Python):
a, b = map(int, input().split())

print((a + b) // 2 + (a + b) % 2)

Solution (Python):
a, b = map(int, input().split()); print(-(-(a + b) // 2))

Solution (Python):
a, b = map(int, input().split())
print(- (- (a + b) // 2))

Solution (Python):

import math

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

Solution (Python):

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

print((a+b+1)//2)

Solution (Python):
import math
a,b=map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
M,N=[int(x) for x in input().split()]
print((M+N+1)//2)

Solution (Python):
import math

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

Solution (Python):
import math
a,b = map(int, input().strip().split(' '))
print(math.ceil((a+b)/2))

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

Solution (Python):
import math

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

print(math.ceil((a + b) / 2))

Solution (Python):
a,b = map(int,input().split())
x = (a+b)/2
print(int(-(-x//1)))

Solution (Python):
import math

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

print(math.ceil((a+b)/2))

Solution (Python):
def solve():
    a, b = list(map(int, input().split()))
    S = a + b
    T = 2
    ave = int((S + T - 1) / T)
    print(ave)

solve()

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
print(eval(input().replace(" ","+1+"))//2)

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

Solution (Python):
a, b = [int(i) for i in input().split()]

print(-(-(a+b) // 2))

Solution (Python):
a,b = (int(i) for i in input().split())

X = a + b

if X % 2 == 1:
    ans = X // 2 + 1
else:
    ans = X //2
    
print(ans)

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

Solution (Python):
A, B = map(int, input().split())
n = (A + B) // 2
print(n if n == (A + B) / 2 else n+1)

Solution (Python):
import math
a, b = map(int, input().split())
x = math.ceil((a + b) / 2)
print(x)

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
   
a,b=map(int,input().split())
print(-((-b-a)//2))

Solution (Python):
print(-~sum(map(int, input().split()))//2)

Solution (Python):
a, b = map(int, input().split())

print(int((a+b)/2)+(a+b)%2)

Solution (Python):
a,b = map(int, input().split())

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

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

Solution (Python):
import math
a,b=map(int,input().split())
x = math.ceil((a+b)/2)

print(x)

Solution (Python):
a, b = map(int, input().split())

print(-(-(a+b)//2))

Solution (Python):
print(-~sum(map(int,input().split()))//2)

Solution (Python):

import math


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


x = (a + b) / 2


ceil_x = math.ceil(x)


print(ceil_x)

Solution (Python):
a, b = map(int, input().split())
x = (a+b)//2
y = (a+b)/2
if y-x==0:
  print(x)
else:
  print(x+1)

Solution (Python):
import math
a, b = map(int, input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a,b=map(int, input().split())
print((a+b+1)//2)

Solution (Python):
a,b=map(int, input().split())
import math
print(int(math.ceil((a+b)/2)))

Solution (Python):
a,b=map(int,input().split())
x=int((a+b+1)/2)
print(x)

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

Solution (Python):
a,b=map(int,input().split())
print((a+b)//2+(a+b)%2)

Solution (Python):
a, b = map(int, input().split())
print((a+b+1)//2)

Solution (Python):
import math
if __name__ == '__main__':
    a, b = map(int, input().split())
    mean = (a + b) / 2
    print(math.ceil(mean))

Solution (Python):
a,b=map(int,input().split());print([(a+b)//2,(a+b)//2+1][(a+b)%2])

Solution (Python):
A, B=map(int,input().split())
print(-(-(A+B)//2))

Solution (Python):
import math

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

x = (a+b)/2

print(math.ceil(x))

Solution (Python):
a, b = map(int, input().split())
print((a + b + 1) // 2)

Solution (Python):
a,b=map(int,input().split());print(0--(a+b)//2)

Solution (Python):
import sys
import math
from fractions import gcd





def lcm(a, b):
    return a * b // gcd(a, b)

def combination_count(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))

def permutations_count(n, r):
    return math.factorial(n) // math.factorial(n - r)

big_prime = 1000000007

"""


 =  sys.stdin.readline().rstrip()
 =  list(sys.stdin.readline().rstrip())


 =  int(sys.stdin.readline())
 =  map(int, sys.stdin.readline().split())
 =  list(map(int, sys.stdin.readline().split()))
 =  [list(map(int,list(sys.stdin.readline().split()))) for i in range(N)]
"""


A, B =  list(map(int, sys.stdin.readline().split()))
print(math.ceil((A + B) / 2) )

Solution (Python):
a, b = map(int, input().split())
m = (a+b+1) // 2
print(m)

Solution (Python):
a,b=map(int,input().split())
print((a+b+1)//2)

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
A,B = map(int,input().split())

res = (A+B-1)//2+1
print(res)

Solution (Python):
import math
S = input().split()
A, B = int(S[0]), int(S[1])
mean = (A + B) / 2
print(math.ceil(mean))

Solution (Python):
import sys
input = sys.stdin.readline

def main():
    a, b = map(int, input().split())
    a += b
    if a&1:
        print(a//2 + 1)
    else:
        print(a//2)

if __name__ == "__main__":
    main()

Solution (Python):
a,b = map(int,input().split())
x = (a+b)/2

if x - int(x) == 0:
    print(int(x))
else:
    print(int(x) + 1)

Solution (Python):
from math import ceil
a, b = map(int, input().split())
print(ceil((a + b) / 2))

Solution (Python):
a,b=map(int,input().split());print(0--(a+b)//2)

Solution (Python):
import math
a, b = map(int,input().split())
print(math.ceil((a+b)/2))

Solution (Python):
a, b = map(int, input().split())

from math import ceil
print(ceil((a + b) / 2))

Solution (Python):
import math

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

Solution (Python):
a,b = map(int,input().split())
print(int((a+b+2-1)/2))

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

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

Solution (Python):
a,b=map(int,input().split())
print( -(-(a+b)//2))

Solution (Python):
a,b=map(int,input().split())
print(-(-(a+b)//2))

Solution (Python):
import math

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

Solution (Python):
a = [int(_) for _ in input().split()]
if len(a) == 2 and all(1 <= item <= 100 for item in a):
    if (a[0] + a[1]) % 2 == 0:
        print((a[0] + a[1]) // 2)
    else:
        print((a[0] + a[1]) // 2 + 1)
else:
    print('hoge!')

Solution (Python):
import math

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

Solution (Python):
import math
a,b = map(int, input().split())
print(math.ceil((a+b)/2))

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

Solution (Python):
import math

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

Solution (Python):
num = input().split()
print((int(num[0])+int(num[1])+1)//2)