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

from  math import ceil
A =  list(map(int, input().split()))
print(ceil(sum(A) / len(A)))

Solution (Python):

import math
work = input().split(" ")
a = int(work[0])
b = int(work[1])
print(math.ceil((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)//2))

Solution (Python):
a,b = map(int ,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):
a, b = map(int, input().split())
print(int((a+b)/2 + 0.5))

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

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

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

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

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

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

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())
c = math.ceil((a + b)/2)
print("{}".format(c))

Solution (Python):
a,b = map(int, input().split())
c = -(-(a + b)//2)
print("{}".format(c))

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

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

Solution (Python):

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

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

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

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

Solution (Python):


import math

def io_generator():
	return input()



def main(io):
	a,b= map(int, io().split())
	
	return math.ceil((a+b)/2)



if __name__ == "__main__":
	io= lambda : io_generator()
	print (main(io))

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(int(math.ceil((a+b)/2)))

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

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

Solution (Python):
import math
a, b = [int(i) for i in 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(int((a+b)/2))
else:
    print(int((a+b)/2)+1)

Solution (Python):
import math
a, b = [int(item) for item in 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().rstrip().split())
answer = -(-(a+b)//2)

print(answer)

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()))
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())
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())
calc = int((a + b) / 2)
check = (a + b) % 2

if check == 0:
    print(calc)
else:
    calc += 1
    print(calc)

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

Solution (Python):
import math

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

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

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

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

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

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

Solution (Python):
k = list(map(int,input().split()))
print(-(-(k[0]+k[1])//2))

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

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

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

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

Solution (Python):


import math

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

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

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

x=(a+b)/2

if x%2==0:
    print(int(x))
else :
    print(int(x+0.5))

Solution (Python):
import math

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

Solution (Python):
a, b = map(int, input().split())
q, mod = divmod(a+b, 2)
print(q if mod==0 else q+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):
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())
print((a+b)//2 + (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())
c = int((a+b+1)/2)
print(c)

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

Solution (Python):
from math import ceil


def solve(string):
    a, b = map(int, string.split())
    return str(ceil((a + b) / 2))


if __name__ == '__main__':
    print(solve(input()))

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 as 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())
x=(a+b)/2
xx=math.ceil(x)
print(xx)

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

Solution (Python):
a,b = [int(x) for x in 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())
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((1+a+b)//2)

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+1)//2)

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

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

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

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

Solution (Python):

ab=list(map(int,input().split()))
m=ab[0]+ab[1]
if m%2==0:
  m=m/2
else:
  m=(m+1)/2
print(int(m))

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

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

Solution (Python):
from sys import exit
import math
A,B = [int(n) for n in input().split()]





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

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:
  print(int((a+b+1)/2))
else:
  print(int((a+b)/2))

Solution (Python):
from math import ceil
print(ceil(eval(input().replace(' ','+'))/2))

Solution (Python):
import math

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

Solution (Python):



def func(a, b):
    result = int((a+b)/2 + 0.5)
    return result


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

print(func(a, b))

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

Solution (Python):


import math


def func(a, b):
    result = math.ceil((a+b)/2)
    return result


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

print(func(a, 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())
print(int((a+b)/2 + 0.5))

Solution (Python):

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

Solution (Python):


import itertools
import collections
import bisect
import math
import sys
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

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

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

Solution (Python):
def round_up_the_mean(a: int, b: int) -> int:
    return (a + b) // 2 if (a + b) % 2 == 0 else (a + b) // 2 + 1


if __name__ == "__main__":
    a, b = map(int, input().split())
    ans = round_up_the_mean(a, b)
    print(ans)

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

Solution (Python):
s=sum(map(int,input().split()));print(s//2+int(bin(s)[-1]))

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

Solution (Python):
n,m = map(int,input().split())
print(-1*(-1*(n+m)//2))

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

Solution (Python):
import math

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

Solution (Python):

from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return list(sys.stdin.readline())
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
mod = 1000000007
 

a, b = LI()
print((a+b+1)//2)

Solution (Python):

from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return list(sys.stdin.readline())
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
mod = 1000000007


a, b = LI()
print((a+b+1)//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):
import math

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


if __name__ == '__main__':
    A();

Solution (Python):

from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007


def A():
    a,b = LI()
    print(math.ceil((a+b)/2))


def B():
    s = S()
    t = S()
    s.sort()
    t.sort()
    t = t[::-1]
    l = [s,t]
    l.sort()
    if l[0] == s:
        print("Yes")
    else:
        print("No")

def C():
    return


def D():
    return


def E():
    return


def F():
    return


def G():
    return


def H():
    return


if __name__ == "__main__":
    A()

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

Solution (Python):
import sys

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


if __name__ == '__main__':
    main()

Solution (Python):
import math
a, b = (int(i) for i in 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):
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())

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

Solution (Python):
[a,b] = list(map(int, input().split()))
print((a+b+2-1)//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())
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())
print((a + b + 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+1)//2)

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

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

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


if __name__ == "__main__":
    main()

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

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

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

if((a+b)%2 == 0):
  x = (a+b)//2
else:
  x = (a+b)//2 + 1
  
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())
print((a+b+1)//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 + 1, (a + b) // 2][(a + b) % 2 == 0])

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())
c=(a+b)/2
print(math.ceil(c))

Solution (Python):
print(-(-sum(map(int,input().split()))//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=[int(i) for i in 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())
from math import ceil
print(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):
import math
from sys import stdin

a,b=[int(x) for x in stdin.readline().rstrip().split()]
print(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())
print(int((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())
c=(a+b)/2
d=(a+b)//2
print(d if c==d else d+1)

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

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

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

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

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

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

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

print(ans)

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

Solution (Python):
import math
a, b = 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):

"""
Created on Sun Feb 24 22:23:09 2019

@author: yuta
"""
import math

def pmean(a,b):
    x = math.ceil((a + b)/2)
    print(x)

c = input().split()
pmean(int(c[0]),int(c[1]))

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

import math
ans = math.ceil((a + b) / 2)

print(ans)
print()

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

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

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

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

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

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


all=(a+b)/2
i=int(all)
f=all-i


if(f>0):
    print(i+1)
else:
    print(i)

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


all=(a+b)/2
i=int(all)
f=all-i


if(f>=0.5):
    print(i+1)
else:
    print(i)

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


all=(a+b)/2
i=int(all)
f=all-i


if(f>=0.5):
    print(i+1)
else:
    print(i)

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

Solution (Python):
import math
import numpy as np
import sys
input = sys.stdin.readline
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

a,b = IL()

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+1)//2)

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

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

Solution (Python):
from statistics import mean
import math
l=list(map(int,input().split()))
print(math.ceil(mean(l)))

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

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

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

Solution (Python):
ab = list(map(int,input().split()))
print(-(-(ab[0]+ab[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())
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())
if (a + b) % 2 ==1:
  a += 1
print(int((a+b)/2))

Solution (Python):
a,b=map(int,input().split())
X=str((a+b)*5)
x=int(X[-1])
if x>=5:
    print((a+b)//2+1)
else:
    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):
print(-~sum(map(int,input().split()))//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):
s=input()
(a,b)=s.split()
a=int(a)
b=int(b)
x=(a+b)/2
x+=0.5
x=int(x)
print(x)

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

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

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

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

Solution (Python):
import math
int_a, int_b = map(int, input().split())

print(math.ceil((int_a + int_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())

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

print(x)

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

def floor(i):
  if i == int(i):
    return int(i) 
  else:
    return int(i) + 1
print(floor( (a+b) / 2) )

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

Solution (Python):


import copy
import numpy as np
import random

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

round = lambda x:(x*2+1)//2

print("{0:.0f}".format(round((a+b)/2)))

Solution (Python):
ab = list(int(i) for i in input().split())
print(int((ab[0]+ab[1]+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(int(math.ceil((a+b)/2)))

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

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

Solution (Python):
import numpy as np

l = input().split()
l = list(map(int, l))

mean    = np.mean(l)
integer = int(mean)
decimal = mean - integer

j = decimal * 10

if j >= 5 :
    res = integer + 1
else :
    res = integer

print(res)

Solution (Python):
import math

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

Solution (Python):
""" AtCoder """

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

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

Solution (Python):
import numpy as np

if __name__ == '__main__':
    a,b=map(int, input().split())
    print(int(np.ceil((a+b)/2)))

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

val = (-a - b) // 2
print(-val)

Solution (Python):
print(eval(input().replace(' ','+1+'))//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):
a,b=map(int,input().split())
c=a+b
print(int(c/2) if (c)%2==0 else int(c/2)+1)

Solution (Python):
from decimal import Decimal,ROUND_HALF_UP

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

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())
x = math.ceil((a+b)/2)
print(x)

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

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

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

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

Solution (Python):
import math

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

print(int(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())
from math import ceil
print(ceil((a+b)/2))

Solution (Python):
list = input().split()
a = int(list[0])
b = int(list[1])

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

Solution (Python):
import math
num=list(map(int,input().split()))
x=math.ceil((num[0]+num[1])/2)
print(x)

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

from math import ceil

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

Solution (Python):


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

avg = (a + b) / 2

print(str(int(avg)) if avg % 1 == 0.0 else str(int(avg) + 1))

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

Solution (Python):
import math
import sys


def dudge_answer(a, b):
    ave = (a+b)/2
    return math.ceil(ave)

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

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((a + b) // 2)
else:
    print((a + b) //2 + 1)

Solution (Python):
import math

a,b = (int(i) for i in input().split())  
ans =  math.ceil((a+b)/2)
print(ans)

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

Solution (Python):
import sys
import math

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

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

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

Solution (Python):
print(-~eval(input().replace(' ','+'))//2)

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

Solution (Python):
x=eval(input().replace(' ','+'))
print(x//2 if x%2==0 else x//2+1)

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

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

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

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

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

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


c=(a+b+(2-1))//2
print(c)

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


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

Solution (Python):
import sys

lines = sys.stdin.readlines()

for n, line in enumerate(lines):
  a, b = [int(_) for _ in line.strip().split(' ')]
  print((a+b+1)//2)

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

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

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

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

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

print(int(ans))

Solution (Python):


def main():
    sa = input().split(' ')
    a = int(sa[0])
    b = int(sa[1])

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


if __name__ == '__main__':
    main()

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):
a, b = (int(x) for x in input().split())
print((a + b + 1) // 2)

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


abc082_a()

Solution (Python):
a,b = map(int,input().split())
print(int((a+b+1)//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):
from math import ceil


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


if __name__ == '__main__':
    main()

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((a+b)//2)
else:
  print((a+b)//2 +1)

Solution (Python):
import math
a,b = [int(i) for i in 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,raw_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())

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((a+b)//2)
else:
  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((a + b) // 2)
else:
    print(((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):

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

Solution (Python):
from statistics import mean, median,variance,stdev
import sys
import math

n=input().split()
a = []
for i in range(len(n)):
    a.append(int(n[i]))
if (a[0]+a[1])%2 :
    print(int((a[0]+a[1]+1)/2))
else: print(int((a[0]+a[1])/2))