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

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

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

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

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

Solution (Python):
import math

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

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

Solution (Python):


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

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

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

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

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

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

Solution (Python):
import math
a, b = list(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 = 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(float, input().split())

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

Solution (Python):
a, b = [int(i) for i in input().split()]
round = lambda x:(x*2+1)//2
c = (a+b)/2
print(int(round(c)))

Solution (Python):
import math

a=input().strip().split(" ")

b=[int(i) for i in a]

c=b[0]+b[1]

c=c*(-1)

print(-1*(c//2))

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

Solution (Python):


import math


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




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


print(val_ave)

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

if int(sum(ab)/2) < (sum(ab))/2:
    print( int(sum(ab)/2)+1)
else:
    print( int(sum(ab)/2))

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

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

Solution (Python):

"""
Created on Sat Nov  3 09:19:07 2018

@author: sk
"""

     
      
b, c = map(int, input().split())
     
s=0.5*(b+c)
     
d = int(s)
    
if s-d > 0:
    v=int(d+1)
else :
    v=int(d)
print(v)

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

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

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

Solution (Python):


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

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

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

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

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

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

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

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

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

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

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

else:
    print(y + 1)

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

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

print(ans)

Solution (Python):
a, b = [int(_) for _ 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):
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())

c = (a+b)/2
if (c-int(c))*10 >=5:
  print(int(c)+1)
else:
  print(int(c))

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

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())
if type(a)==int and type(b)==int:
  if 1<= a and b <=100:
  	print(math.ceil((a+b)/2))

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

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

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

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

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

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

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

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)//2 if (a+b)%2==0 else (a+b)//2 + 1)

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 = [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, 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):
a,b = map(int, input().split())

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

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

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

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

Solution (Python):
A, B = list(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):
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):
n,m = map(int, input().split())

print(-(-(n+m)//2))

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

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):
import math
a, b = list(map(int, input().split()))

print(math.ceil((a+b)/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):
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):
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 not(a%2) and b%2:
	b+=1
if a%2 and not(b%2):
	a+=1
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):
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())
ans = (a + b) // 2
if (a + b) % 2 == 0:
    print(ans)
else:
    print(ans + 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())

ans = int((a+b)/2)

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

print(ans)

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

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

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

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

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

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

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

Solution (Python):


from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()

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):
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):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, input().split()))
def inpl_s(): return list(input().split())

a,b = inpl()
print(int((a+b)/2+0.5))

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())
x = 0.5*(a+b)
ans = math.ceil(x)
print(ans)

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

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

Solution (Python):

import math,string,itertools,fractions,heapq,collections,re,array,bisect

def ln():
    return map(int, input().split())

a,b = ln()
print(-(-(a+b)//2))

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

Solution (Python):
import math

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

Solution (Python):
x,y = map(int,input().split())

t = (x+y)//2

if (x+y)%2 == 0:
    print(t)
else:
    print(t + 1)

Solution (Python):
import math
x, y = map(int, input().split())

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

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

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

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

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

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 as c
a,b=map(int,input().split())
print(int(c((a+b)/2)))

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

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

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

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

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

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

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

Solution (Python):

ab=map(int,input().split());print((sum(ab)-1)//2+1)

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

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

Solution (Python):


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


if __name__ == '__main__':
    main()

Solution (Python):
def round_up(num):
    if num % 1 == 0:
        return int(num)
    return int(num) + 1

ab = [int(m) for m in input().split(" ")]

print(round_up(sum(ab) / 2))

Solution (Python):
import math

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

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

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(sum([a,b])/2))

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

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

Solution (Python):
num,numsecond = map(int,input().split())
number = num + numsecond
answer = number // 2
if number / 2 - number //2 > 0:
    answer += 1

print(answer)

Solution (Python):

n=[int(i) for i in input().split()]
n1=(n[0]+n[1])/2
n2=int((n[0]+n[1])/2)
if(n1-n2==0):print(n2)
else:print(n2+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):
print (sum([int(x) for x in raw_input().split()]) + 1) / 2

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

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

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

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(float, input().split())


mean = math.ceil(float((a+b)/2.0))
print(mean)

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())
x = (a+b)/2
print(int((2*x+1)//2))

Solution (Python):
from functools import reduce
import math
 
a = list(map(int,input().split()))
c = reduce(lambda x,y: (x+y)/2 ,a)
print(math.ceil(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())
print(math.ceil((a+b)/2))

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

if float((a+b)/2) == int((a+b)/2):
  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):
[a,b]=[int(i) for i in input().split()]
c=(a+b)/2
if c%1==0:
    print(int(c))
else:
    print(int(c//1)+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):
a,b = map(int,input().split())
print((a+b)//2 + (0 if (a+b)%2==0 else 1))

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

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

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

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

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

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

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

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())
c = a + b

if c%2 == 0:
    print(int(c/2))
    
else:
    print(int(c/2)+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+1)//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())
c = (a+b)/2
d = int(c)
if c == d :
    print(d)
else :
    print(d+1)

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

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

Solution (Python):
import math

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

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

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

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

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

Solution (Python):
import math

digits = input('')
digits = digits.split(' ')
average = math.ceil((int(digits[0]) + int(digits[1])) / 2)
print(average)

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

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

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

Solution (Python):
import math

a, b = map(int, input().split())
avg = (a + b)*0.5
print(math.ceil(avg))

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):
l = list(map(int,input().split()))
 
s = l[0] + l[1]
if s % 2 == 1:
    s = s+ 1
else:
    None
print(s // 2)

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

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

Solution (Python):
l = list(map(int,input().split()))
 
s = l[0] + l[1]
if s % 2 == 1:
    s = s+ 1
else:
    None
print(s // 2)

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

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

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

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

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

Solution (Python):
import math

def main():
    a, b = map(int, input().split())

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

    return


if __name__ == '__main__':
    main()

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

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

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):
def ceil_div(num, den):
    return ((num - 1) // den) + 1

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

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

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

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

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

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

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

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

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

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

a = int(arr_data[0][0])
b = int(arr_data[0][1])

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

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

s = a + b

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

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

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

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

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

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a,b = na()
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, raw_input().split())
print (a+b+1)/2

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

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

Solution (Python):
a=eval(input().replace(' ', '+'));print(a//2+a%2)

Solution (Python):





if __name__ == '__main__':
    A, B = list(map(int, input().split()))

    mean = (A + B + 1) // 2
    print(mean)

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

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

Solution (Python):

A, B = map(float, input().split())
print((int)((A+B)*0.5+0.5))

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

Solution (Python):
import math

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

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

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

import math
print(math.ceil((input_list[0] + input_list[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):


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

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

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

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

Solution (Python):



from decimal import Decimal, ROUND_HALF_UP

def main():
    a, b = map(int, input().split())
    print(Decimal((a + b) / 2).quantize(0, ROUND_HALF_UP))

if __name__ == '__main__':
    main()

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

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