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):
num = input().split()
print((int(num[0])+int(num[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())

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

print(x)

Solution (Python):
import math

ab = list(map(int, input().split()))
x = sum(ab)/len(ab)

print(math.ceil(x))

Solution (Python):
import math


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


if __name__ == "__main__":
    resolve()

Solution (Python):
import sys
import  math
from statistics import *
from collections import *
from operator import itemgetter
"""
from fractions import gcd
def lcm(x, y):
    return (x * y) // gcd(x, y)
"""
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a, b = na()
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 - 1) // 2)

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

Solution (Python):
print(-int(-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):
line = input().split()
a = int(line[0])
b = int(line[1])
ans = 0

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

print(int(ans))

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

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

Solution (Python):
import math
if __name__ == '__main__':
  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())

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

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

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

Solution (Python):


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

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

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

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

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

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

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

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

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

x = (a+b)/2

import math
print( math.ceil(x))

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

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

Solution (Python):
print((sum(int(tok) for tok in input().split()) + 1) // 2)

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

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

Solution (Python):
print(-(-eval(input().replace(' ','+'))//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 +1) // 2))

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

if __name__ == '__main__':
    print(main())

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

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

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

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

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

Solution (Python):
def main():
    x,y = map(int,input().split())
    s=(x+y)/2
    ans=0
    while(s>0):
        s-=1
        ans+=1
    print(ans)
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())
print(-(-(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())
print((a+b+(a+b)%2)//2)

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

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

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

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

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

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

c = a + b

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

Solution (Python):
import math

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


if __name__ == "__main__":
    test()

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

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

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

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

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

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

Solution (Python):
import math
print(math.ceil(sum([int(i) for i in input().split()])/2))

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):
import math

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

c = (a+b)/2

print(math.ceil(c))

Solution (Python):
import math

ab = input().split()

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

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):
import math
print(math.ceil(sum([int(x) for x in 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)/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(int((a+b)/2))
else :
    print(int((a+b)/2)+1)

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

Solution (Python):
s = sum(map(int, input().split()))
print(-~s//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())
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 + 1) // 2 )

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

Solution (Python):
def main(a: int, b: int):
    return ((a + b + 1) // 2)


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

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

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

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+1)//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(int, input().split())
total = int((a + b + 2 - 1) / 2)

print(total)

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

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

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

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


	
	

if a==0 or b==0 or (a+b)%2 != 0:
	c =int(((a+b)/2) + 1)
	

else:
	c=int((a+b)/2)
	
    
print(c)

Solution (Python):
import math

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

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

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

Solution (Python):
import math

a, b = map(float, 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())

Ans = -(-(A+B)//2)

print(Ans)

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

Solution (Python):
import math
from statistics import mean

a = list(map(int,input().split()))
c = mean(a)
d = math.ceil(c)
print(d)

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(float, 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 = [int(c) for c in input().split(' ')]
carry = (a+b)%2
print(int((a+b)/2) + carry)

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

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

print(x_rounded_up)

Solution (Python):

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

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

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

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

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

Solution (Python):


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

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

if ((a+b)/2)-((a+b)//2)>=0.5:
    print(((a+b)//2) +1)
else:
    print((a+b)//2)

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

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

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

Solution (Python):
import math
a, b = map(float, 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()[:2])

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 = str(input())
b = a.split()

mean = math.ceil((int(b[0])+int(b[1]))/2)

print(mean)

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

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

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

Solution (Python):

import sys
INF = float("inf")


def solve(a: int, b: int):
    print(-(-(a+b)//2))
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  
    b = int(next(tokens))  
    solve(a, b)


if __name__ == '__main__':
    main()

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

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

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

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

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

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

Solution (Python):
import math

l = list(map(int, input().split()))
ave = sum(l) / len(l)
print(math.ceil(ave))

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

Solution (Python):
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
a,b = map(int,input().split())
print(Decimal(str((a+b)/2)).quantize(Decimal('0'), rounding=ROUND_HALF_UP))

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

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

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

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

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

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

x = (a + b) / 2

print(math.ceil(x))

Solution (Python):
import math
i1 = input().split(' ')
a=int(i1[0])
b=int(i1[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())
x = (a + b) / 2
if x == (a + b) // 2:
  print((a + b) //2)
else:
  print((a + b) // 2 + 1)

Solution (Python):

import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import math






def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    a,b = inputMap()
    
    print(-(-(a+b)//2))
            	
if __name__ == "__main__":
	main()

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

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

Solution (Python):



import sys

input = sys.stdin.readline

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

main()

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

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

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

res = (a+b)%2
mean = (a+b)//2

if res == 1:
  print(mean+1)
else:
  print(mean)

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

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

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

Solution (Python):
import sys
import math

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

if __name__ == "__main__":
    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

lis = [int(i) for i in input().split()]

print(math.ceil((lis[0]+lis[1])/2))

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

Solution (Python):
a, b = [int(ab) for ab in input().split()]
if (a+b) % 2 == 0:
  ans = (a+b) // 2
else:
  ans = (a+b+1) // 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())
X = (A+B) // 2 + (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 = 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 - 1) // 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())
x=(a+b)/2
x=math.ceil(x)
print(x)

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

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

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

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

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

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

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

Solution (Python):
import math

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

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

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

Solution (Python):

A,B = map(int,input().split())
ans= int((((A+B)/2)+0.5) //1)
print(ans)

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

input = input().split()
a = int(input[0])
b = int(input[1])
all = a + b
print(-(-all // 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-1)/2))

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

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

import math

x = (a + b) / 2

print(math.ceil(x))

Solution (Python):
import math

ab = input().split(" ")
a = int(ab[0])
b = int(ab[1])
avg = (a + b) / 2
avg = math.ceil(avg)
print(avg)

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

Solution (Python):
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

a, b = nl()

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

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


from sys import stdout
from bisect import bisect_left as binl
from copy import copy, deepcopy
from collections import defaultdict
import math


mod = 1


def intin():
    input_tuple = input().split()
    if len(input_tuple) <= 1:
        return int(input_tuple[0])
    return tuple(map(int, input_tuple))


def intina():
    return [int(i) for i in input().split()]


def intinl(count):
    return [intin() for _ in range(count)]


def modadd(x, y):
    global mod
    return (x + y) % mod


def modmlt(x, y):
    global mod
    return (x * y) % mod


def mod_inv(x):
    
    global mod
    return pow(x, mod - 2, mod)


def gcm(x, y):
    while y != 0:
        z = x % y
        x = y
        y = z
    return x


def combination(x, y):
    assert(x >= y)

    ret = math.factorial(x)
    ret = ret // (math.factorial(x - y) * math.factorial(y))

    return ret


def get_divisors(x):
    retlist = []
    for i in range(1, int(x**0.5) + 3):
        if x % i == 0:
            retlist.append(i)
            retlist.append(x // i)
    return retlist


def get_factors(x):
    retlist = []
    for i in range(2, int(x**0.5) + 3):
        while x % i == 0:
            retlist.append(i)
            x = x // i
    retlist.append(x)
    return retlist


def make_linklist(xylist):
    linklist = {}
    for a, b in xylist:
        linklist.setdefault(a, [])
        linklist.setdefault(b, [])
        linklist[a].append(b)
        linklist[b].append(a)
    return linklist


def calc_longest_distance(linklist, v=1):
    distance_list = {}
    distance_count = 0
    distance = 0
    vlist_previous = []
    vlist = [v]
    nodecount = len(linklist)

    while distance_count < nodecount:
        vlist_next = []
        for v in vlist:
            distance_list[v] = distance
            distance_count += 1
            vlist_next.extend(linklist[v])
        distance += 1
        vlist_to_del = vlist_previous
        vlist_previous = vlist
        vlist = list(set(vlist_next) - set(vlist_to_del))

    max_distance = -1
    max_v = None
    for v, distance in distance_list.items():
        if distance > max_distance:
            max_distance = distance
            max_v = v

    return (max_distance, max_v)


def calc_tree_diameter(linklist, v=1):
    _, u = calc_longest_distance(linklist, v)
    distance, _ = calc_longest_distance(linklist, u)
    return distance


class UnionFind:

    def __init__(self, n):
        self.parent = [i for i in range(n)]

    def root(self, i):
        if self.parent[i] == i:
            return i
        self.parent[i] = self.root(self.parent[i])
        return self.parent[i]

    def unite(self, i, j):
        rooti = self.root(i)
        rootj = self.root(j)
        if rooti == rootj:
            return
        if rooti < rootj:
            self.parent[rootj] = rooti
        else:
            self.parent[rooti] = rootj

    def same(self, i, j):
        return self.root(i) == self.root(j)





def main():
    a, b = intin()

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

if __name__ == '__main__':
    main()

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