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

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

Solution (Python):



import math

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

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

Solution (Python):
import math

def main():
    print(
        (lambda nums: math.ceil((nums[0] + nums[1]) / 2))(list(map(int, input().split())))
    )

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

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

Solution (Python):
print(int((sum(list(map(int,input().split())))+1)>>1))

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

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

Solution (Python):


import sys

a, b = [int(e) for e in raw_input().split()]


sys.stdout.write('%d\n' % ( (a + b + 1)/2 ))
sys.stdout.flush()

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

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

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

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

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

Solution (Python):
from math import ceil

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

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

Solution (Python):

"""
https://beta.atcoder.jp/contests/abc082/tasks/abc082_a

"""
import sys
from sys import stdin
from math import ceil
from statistics import mean
input = stdin.readline


def solve(data):
    return ceil(mean(data))


def main(args):
    data = [int(x) for x in input().split()]
    ans = solve(data)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

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

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

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

Solution (Python):





def main():
    A, B = map(int, input().split())

    S = A + B
    ans = S//2 + (1 if S%2 else 0)
    print(ans)

if __name__ == "__main__": main()

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

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

def foo(a, b):
    return math.ceil((a+b)/2)


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

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

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

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

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

Solution (Python):
from __future__ import division
l = map(int, raw_input().split())
print int(round(sum(l)/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):
n = input()
N = n.split()
a = int(N[0])
b = int(N[1])

sum = a + b

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

print(ave)

Solution (Python):

import math
A,B = list(map(int, input().split()))

if (A+B) % 2 == 0:
    print(round((A+B)/2))
else:
    print(round((A+B+1)/2))

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

Solution (Python):
import math

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

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

Solution (Python):

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

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

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

Solution (Python):
import math

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

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

print(math.ceil(x))

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

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

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    a,b = LI()
    r = (a+b) // 2 + (a+b) % 2

    return r



print(main())

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

Solution (Python):



import math
import sys

a, b = sys.stdin.readline().strip().split(" ")
a = int(a)
b = int(b)
print(math.ceil((a+b)/2))

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

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

Solution (Python):

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

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

Solution (Python):
import math

l = input().split()
a = int(l[0])
b = int(l[1])
c = float((a+b)/2)

print(math.ceil(c))

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

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

Solution (Python):

import math

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

Solution (Python):
import sys
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt, ceil, floor
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache, reduce
from operator import xor
from heapq import heappush, heappop
INF = float("inf")
sys.setrecursionlimit(10**7)


dy4, dx4 = [0, -1, 0, 1], [1, 0, -1, 0]


def inside(y: int, x: int, H: int, W: int) -> bool: 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):
import math

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

if __name__ == '__main__':
    main()

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

Solution (Python):
import math
numbers = input().rstrip().split()
number1 = int(numbers[0])
number2 = int(numbers[1])
 
mean = (number1+number2) / 2
 
print(math.ceil(mean))

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

Solution (Python):
import math

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

Solution (Python):
import math
a=raw_input().split()
print int(math.ceil((int(a[0])+int(a[1]))/2.0))

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

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

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

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

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

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

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

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

Solution (Python):
from math import ceil

LIST = [int(x) for x in input().split()]

def main():
    average = sum(LIST) / len(LIST)
    print(ceil(average))

if __name__ == '__main__':
    main()

Solution (Python):
import math

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

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

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


print(x)

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

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):
print (eval(raw_input().replace(' ','+'))+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):
import math

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

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

if (a+b)%2 == 0:
    print((a+b)//2)
else:
    print(int(((a+b)/2*10+5)//10))

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

Solution (Python):
r=input().split()

a=r[0]
b=r[1]

c=int(a)+int(b)
if c%2==0:
    d=c/2
elif c%2==1:
    d=(c/2)+1

print(int(d))

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

Solution (Python):

"""
Created on Tue Dec 19 13:45:02 2017

@author: kotania
"""
import math
 
ab = input().split()
a = float(ab[0])
b = float(ab[1])
x = (a + b) / 2

print(math.ceil(x))

Solution (Python):

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

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


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


if __name__ == '__main__':
    main()

Solution (Python):
import math

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

Solution (Python):
import math

input_data = list(map(int, input().split(' ')))

print(math.ceil((input_data[0] + input_data[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):
str = input()
a = int(str.split()[0])
b = int(str.split()[1])

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

Solution (Python):
import math

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

print(ans)

Solution (Python):
import math

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

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

Solution (Python):
import math

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

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

print(x)

Solution (Python):
import numpy as np
from collections import Counter
import collections
round = lambda x:(x*2+1)//2
a = list(map(float,input().split()))
a = np.array(a)
b = round(np.mean(a,dtype = "float16"))
print(int(b))

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

Solution (Python):

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



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

if __name__=="__main__":
    main()

Solution (Python):

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

Solution (Python):
print((lambda x: int(0.999999999999 + ((int(x[0]) + int(x[1])) / 2)))(input().split()))

Solution (Python):
import math

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

Solution (Python):

import math

ina = raw_input().split()

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

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

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

Solution (Python):
import math
import itertools
import heapq
from sys import stdin, stdout, setrecursionlimit
from bisect import bisect, bisect_left, bisect_right
from collections import defaultdict, deque








def LM(t, r): return list(map(t, r))
def R(): return stdin.readline()
def RS(): return R().split()
def I(): return int(R())
def F(): return float(R())
def LI(): return LM(int,RS())
def LF(): return LM(float,RS())
def ONE_SL(): return list(input())
def ONE_IL(): return LM(int, ONE_SL())
def ALL_I(): return map(int, stdin)
def ALL_IL(): return LM(int,stdin)


def ap(f): return f.append
def pll(li): print('\n'.join(LM(str,li)))
def pljoin(li, s): print(s.join(li))





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


if __name__ == '__main__':
	main()

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

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

Solution (Python):


import math

n = map(int, raw_input().split())

print int(math.ceil(sum(n) / 2.0))

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

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

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

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

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

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

Solution (Python):
import math

a = list(map(lambda x: int(x),input().split()))
s = sum(a)
ave = math.ceil(sum(a)/len(a))

print(ave)

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

Solution (Python):
import math

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

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

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

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

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

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

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

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

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

if ave - int(ave) > 0:
    ave = int(ave) + 1
else:
    ave = int(ave)

print(ave)

Solution (Python):
import math

def main():
  n, c = input().split()
  
  ans = (int(n) + int(c)) / 2

  print(math.ceil(ans))

if __name__ == "__main__":
    main()

Solution (Python):
import math

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

Solution (Python):
from statistics import mean, math

print(math.ceil(mean(list(map(int, input().split())))))

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

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

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

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

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

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




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


if __name__ == '__main__':
    main()

Solution (Python):
import math

def solv():
    a, b = map(int, input().split())
    x = (a + b)/2
    if (math.floor(x * 10) % 10 >= 5):
        print(math.floor(x)+1)
    else:
        print(math.floor(x))

if __name__ == '__main__':
    solv()

Solution (Python):
import math

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


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

Solution (Python):
import math
roundx = lambda x:(x*2+1)//2
m = roundx(sum(list(map(int, input().split())))/2)

print(int(m))

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

if a % 2 == 0 and b % 2 ==0:
	print(int(x))

if a % 2 == 1 and b % 2 ==0:
	print(int(x+0.5))

if a % 2 == 0 and b % 2 ==1:
	print(int(x+0.5))

if a % 2 == 1 and b % 2 ==1:
	print(int(x))

Solution (Python):
a,b = map(int,input().split())
ans = (a + b) / 2
if str(ans)[len(str(ans))-1] == "5":
    ans += 0.5
print(int(ans))

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

Solution (Python):
import math

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

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

print(T)

Solution (Python):
a,b = list(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=input()
B=A.split(" ")
a=int(B[0])
b=int(B[1])
c=a+b
avg=c/2
iavg=int(c/2)
if avg==iavg:
 print(iavg)
else:
 import math
 print(math.floor(avg)+1)

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

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

Solution (Python):
import math

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

c = a + b
d = c/2

x = math.ceil(d)

print(x)

Solution (Python):
import math

numbers = [int(i) for i in input().split()]
ans = math.ceil((numbers[0]+numbers[1])/ 2)
print(ans)

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

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

c = (a + b) / 2

if c > int(c):
    print(int(c + 1))
else:
    print(int(c))

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

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

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

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

Solution (Python):
import math

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

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

print(ans)

Solution (Python):
import math

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

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

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

Solution (Python):


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

val=(a+b)/2

if(val*10%10>=5):
    print(int(val)+1)
else:
    print(int(val))

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

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

Solution (Python):
import math


def my_round(x, d=0):
    p = 10 ** d
    return float(math.floor((x * p) + math.copysign(0.5, x))) / p


def solve():
    a, b = list(map(int, input().split(" ")))
    print(int(my_round((a + b) / 2)))


solve()

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


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

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

Solution (Python):


import math

x,y=[int(i) for i in input().split()]
ans = math.ceil((x+y)/2.0)
print(ans)

Solution (Python):

a, b = list(map(float, input().split()))
c = (a + b)/2
c_int = int(c)
if c > c_int:
    print(c_int+1)
else:
    print(c_int)

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

Solution (Python):
import math


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

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

if __name__ == '__main__':
    main()

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

main()

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

Solution (Python):
import sys
import math

line = sys.stdin.readline().strip()
a, b = [int(x) for x in line.split()]
r = -math.floor(-(a + b) / 2)
print(r)

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

Solution (Python):
[A, B] = map(int,raw_input().split())



print ((A + B) / 2) + ((A + B) % 2)

Solution (Python):
import math

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

a = A1[0]*1.0
b = A1[1]*1.0

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 numpy as np
import math

def slove(a, b):
    return math.ceil((a + b)/2)

if __name__ == "__main__":
    ab = input().split()
    a = int(ab[0])
    b = int(ab[1])
    print(slove(a, b))

Solution (Python):
import math

a = list(map(lambda x: int(x),input().split()))
s = sum(a)
ave = math.ceil(sum(a)/len(a))

print(ave)

Solution (Python):

import math

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

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

Solution (Python):
a, b = map(int, input().split())
tmp = (a+b) / 2
if int(str(tmp).split('.')[-1]) > 4:
    print(int(tmp+1))
else:
    print(int(tmp))

Solution (Python):

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

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):
import math

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

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

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

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

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

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

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

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

Solution (Python):
import math


num = [int(x) for x in input().split()]





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

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