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):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

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

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

Solution (Python):
import sys

def IS(): return sys.stdin.readline().rstrip()
def II(): return int(IS())
def MII(): return list(map(int, IS().split()))
def MIIZ(): return list(map(lambda x: x-1, MII()))

INIT_VAL = 0
def DD2(d1,d2): return [[INIT_VAL]*d2 for _ in range(d1)]
def DD3(d1,d2,d3): return [DD2(d2,d3) for _ in range(d1)]

MOD=10**9+7
def divc(x,y): return -(-x//y)
def divf(x,y): return x//y
def gcd(x,y):
    while y: x,y = y,x%y
    return x
def lcm(x,y): return x*y//gcd(x,y)
def get_primes(MAX_NUM=10**3):
    """Return a list of prime numbers"""
    is_prime = [True] * MAX_NUM
    is_prime[0] = False
    is_prime[1] = False
    primes = []
    for i in range(MAX_NUM):
        if is_prime[i]:
            primes.append(i)
            for j in range(2*i, MAX_NUM, i):
                is_prime[j] = False
    return primes

from itertools import accumulate as acc
from collections import deque, Counter
from heapq import heapify, heappop, heappush
from bisect import bisect_left



def main():
    a, b = MII()
    print(divc(a+b, 2))

if __name__ == '__main__':
    main()

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

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


resolve()

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

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

ans = 0 - -(a + b)//2

print(ans)

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

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

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

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

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

Solution (Python):
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 - 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):
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())
ans = -(-(a+b)//2)
print(ans)

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

Solution (Python):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque

from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil,pi

from copy import deepcopy
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [LI()for i in range(n)]
inf = 10**17
mod = 10**9 + 7

a,b=MI()
print(ceil((a+b)/2))

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

Solution (Python):
import math

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

ave = (a + b)/ 2

print(math.ceil(ave))

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

ave = (a + b) / 2  
if ave - int(ave) > 0:
  print(int(ave)+1)
else:
  print(int(ave))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import math
a,b=map(int, input().split())
print('{:.0f}'.format(math.ceil((a+b)/2)))

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

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

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

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

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

print(ans)

Solution (Python):

def resolve():
    A, B = list(map(int, input().split(" ")))
    import math
    print(math.ceil((A+B)/2))


if '__main__' == __name__:
    resolve()

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

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

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

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

Solution (Python):
import numpy as np


def round_up_mean(posi_int_a, posi_int_b):
    val_mean = np.array([posi_int_a, posi_int_b]).mean()
    val_ceiled = int(np.ceil(val_mean))
    print(val_ceiled)


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

Solution (Python):
import sys
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def S(): return sys.stdin.readline()
def LS(): return sys.stdin.readline().split()
def LS2(N): return [sys.stdin.readline().split() for i in range(N)]
def FILL(i,h,w): return [[i for j in range(w)] for k in range(h)]
def sisha(num,digit): return Decimal(str(num)).quantize(Decimal(digit),rounding=ROUND_HALF_UP)

MOD = 1000000007
INF = float("inf")
sys.setrecursionlimit(10**5+10)
input = sys.stdin.readline

a,b = MI()
print(int((a+b+1)/2))

Solution (Python):
import sys
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def S(): return sys.stdin.readline()
def LS(): return sys.stdin.readline().split()
def LS2(N): return [sys.stdin.readline().split() for i in range(N)]
def FILL(i,h,w): return [[i for j in range(w)] for k in range(h)]
def sisha(num,digit): return Decimal(str(num)).quantize(Decimal(digit),rounding=ROUND_HALF_UP)

MOD = 1000000007
INF = float("inf")
sys.setrecursionlimit(10**5+10)
input = sys.stdin.readline

a,b = MI()
print(int((a+b+1)/2))

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

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

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

Solution (Python):
from sys import stdin
import math

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

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

Solution (Python):
import math

a, b = map(int, input().split())
c = (a + b) / 2
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):
s = input().split()
p = [int(w) for w in s]

a = p[0]
b = p[1]

c = ( a + b ) % 2

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

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

Solution (Python):



a, b =[int(i) for i in input().split()]
print (int((a+b+1)/2.0))

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

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

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

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

Solution (Python):

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

print(average)

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

Solution (Python):
icase=0    
if icase==0:
    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+1)//2)

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

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

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

Solution (Python):

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

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

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

x = (a+b)/2

if x != int(x):
	print(int(x) + 1)
else:
	print(int(x))

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

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

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

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

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

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

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

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

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

c = (a+b) / 2

print(int(c+0.9))

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

Solution (Python):
import math

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

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

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

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

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

Solution (Python):
a, b = map(int, input().split(" "))
N = (a + b) * 5

if N % 10:
  print(int(str(N)[:-1]) + 1)
else:
  print(int(N / 10))

Solution (Python):
import math

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

Solution (Python):
import math

url = "https://atcoder.jp/contests/abc082/tasks/abc082_a"

def main():
    n,m = list(map(int, input().split()))
    print(math.ceil((n + m) / 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):
print(-(-eval(input().replace(" ","+"))//2))

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

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

Solution (Python):
import math

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

Solution (Python):
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())
import math
print(math.ceil((a+b)/2))

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

x=(a+b)/2

import math

print(math.ceil(x))

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

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

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

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

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

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

Solution (Python):

import math

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

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

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

ans = (a + b) // 2

if (a + b) / 2 - ans > 0:
    ans += 1

print(ans)

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

Solution (Python):
import sys

a, b = map(int, sys.stdin.readline().split())

def main():
    print((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):

a, b = [int(s) for s 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())
import math
print(math.ceil((a+b)/2))

Solution (Python):
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

a,b = iim()
print((a+b+2-1)//2)

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

Solution (Python):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    sum = a[0]+a[1]
    ans =sum //2
    if sum%2 ==1:
        ans +=1

    print(ans)

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

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

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

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

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

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

Solution (Python):
import math

li = input().split(" ")

a = (int(li[0]) + int(li[1])) / 2

print(math.ceil(a))

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

Solution (Python):
import numpy as np


def main():
    a, b = map(int, input().split())
    x = np.mean([a, b])
    ans = int(np.ceil(x))
    print(ans)


if __name__ == "__main__":
    main()

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

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

Solution (Python):
import math

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

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

Solution (Python):
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((B+A)/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):
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/2+b/2))

Solution (Python):
import math

a,b = [int(x) for x 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):
import math 

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

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

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

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

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

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

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

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

x = (a + b + 1)//2

print(x)

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

Solution (Python):
input_number = input().split(' ')
a = float(input_number[0])
b = float(input_number[1])

ave = (a+b)/2

if ave%1 == 0:
    print(int(ave))
else:
    print(int(ave) +1)

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

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

Solution (Python):

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

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

Solution (Python):
import math

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

Solution (Python):
a,b=map(int, input().rstrip().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 sys
import math

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

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

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

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

Solution (Python):
a, b = map(int, input().split())
if ((a + b) / 2) % 1 == 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 = [int(i) for i in input().split()]
m = (a * 10 + b * 10) // 2
x = (m + 9) // 10
print(x)

Solution (Python):
import math
import string


def readints():
    return list(map(int, input().split()))


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


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor


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

Solution (Python):
import sys
import os
import math


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

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

if __name__ == '__main__':
    main()

Solution (Python):

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys

a, b = [int(x) for x in sys.stdin.readline().strip().split(" ")]
if (a + b) % 2 == 1:
    print((a + b + 1) // 2)
else:
    print((a + b) // 2)

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

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

Solution (Python):
from sys import stdin

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

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

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

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

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

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

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

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

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

if c%2==0:
  print(x)
elif c%2==1:
  print(x+1)

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

Solution (Python):

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


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

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