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



Sample input:
1 3


Sample output:
2

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
mean = (a + b) / 2
if mean == int:
    print(mean)
else:
    print(float(mean) + 0.5)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りでの入力
a, b = map(int,input().split())
#平均値の計算+切り上げ
ave = -(a+b)//2
print({},"-ave")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りでの入力
a, b = map(int,input().split())
#平均値の計算
ave = float((a+b)/2)
#数字の切り上げ
N = round(ave)
print({},"N")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
print(int(round(((a+b)/2), 0)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
A = int((a+b)/2)
print(A if (A*10)%2 == 0 else int(A+0.5))

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
A = (a+b)/2
print(A if (A*10)%2 == 0 else int(A+0.5))

Submission status: Wrong Answer

Solution code:
print(round(sum(list(map(int, input().split())))/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
print(round(sum(n)/len(n)))

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
print(sum(n)//len(n))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = (a + b) / 2

print(round(x))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from unittest.mock import patch
from collections import Counter

def check():
    N = int(input())
    A = Counter([int(i) for i in input().split()])
    total = 0
    
    for num, cnt in dict(A).items():
        total += cnt if cnt-num < 0 else cnt-num
    print(total)
       
with patch('builtins.input', side_effect="""4
3 3 3 3
""".split('\n')):
    check()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = list(map(int, input().split()))
p = (a + b) / 2 
if int(p) % 2 != 0:
    print(round(p))
else:
    if p <= int(p) + 0.5:
        print(int(p))
    else:
        print(int(p) + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = "yx"
s2 = sorted(s)

t = "axy"
t2 = sorted(t, reverse=True)

for (i,j) in zip(s2,t2):
    if s == t:
        print("Yes")
        break
    if i < j:
        print("yes")
        break
    else:
        print("no")
        break

Submission status: Wrong Answer

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

print((a + b) // 2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
"""
author : halo2halo
date : 29, Jan, 2020
"""

import sys
import itertools

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A, B = map(int, readline().split())

print((A+B-1)//2)

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
print(round(sum(a)/2))

Submission status: Wrong Answer

Solution code:
a, b = (int(i) for i in input().split())
print(round((a+b)/2))

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
ans = int(round((a+b)/2,0))
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = list(map(int,input().split()))

x = (i[0] + i[1]) // 2

print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = input().split()
num_i = [int(s) for s in num]

x = (num_i[0]+num_i[1])/2
print(int(round(x, 0)))

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
a,b = [int(i) for i in input().split()]
ave = (a+b) / 2
print(int(round(ave)))

Submission status: Wrong Answer

Solution code:

A, B = input().split()

M = (int(A) + int(B)) / 2

print(round(M))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
a, b = map(int,input().split())
print((a+b)//2+1)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3
# vim: set fileencoding=utf-8:
import sys
import math
input = sys.stdin.readline

"""
H = int(input())
h = [int(ele) for ele in input().split()]
h = [0] + h
"""


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
a,b=map(int,input().split())
print(-((a+b)//2))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
print(a//b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
c=(a+b)/2
d=(a+b)//2
if (d+0.5)<=c:
    print(d)
else:
    print(d-1)

Submission status: Wrong Answer

Solution code:
# Problem https://atcoder.jp/contests/abc082/tasks/abc082_a
# Python 2nd Try


def solver(a, b):
    answer = 0
    answer = (a + b) // 2
    return answer


if __name__ == "__main__":
    a, b = map(int, input().split(' '))
    answer = 0
    answer = solver(a, b)
    print(answer)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(math.ceil(eval(input().replace(" ", "+")) / 2) for math in [__import__("math")])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
##### 解けた #####

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

print((a+b)//2)

Submission status: Wrong Answer

Solution code:
import math as m

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

Submission status: Wrong Answer

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

x=round((a+b)/2)
print(x)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = a + b

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

print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.readline
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

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

main()

Submission status: Wrong Answer

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


#a/bの結果を小数点以下切り上げ
import math
print(math.ceil(a/b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
a,b = [int(x) for x in stdin.readline().rstrip().split()]
x = (a+b-1)//b
print(x)

Submission status: Wrong Answer

Solution code:
from sys import stdin
a,b = [int(x) for x in stdin.readline().rstrip().split()]
x = (a+b)//2
print(x)

Submission status: Wrong Answer

Solution code:
from sys import stdin
a,b = [int(x) for x in stdin.readline().rstrip().split()]
x = (a+b)//2

Submission status: Wrong Answer

Solution code:
a,v=map(int,input().split())
print((a+v)//2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = (int(i) for i in input().split())
mean = (a + b) // 2 + 1
print(mean)

Submission status: Wrong Answer

Solution code:
a, b = (int(i) for i in input().split())
mean = (a + b) // 2 + 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
x = sum(i) / 2
print(round(x))

Submission status: Wrong Answer

Solution code:
a,b=map(int, input().split())
mean=(a+b)/2.0
if (a==b):
    print(a)
else:
    print(round(mean))

Submission status: Wrong Answer

Solution code:
a,b=map(int, input().split())
mean=(a+b)/2.0
print(round(mean))

Submission status: Wrong Answer

Solution code:
a,b=map(int, input().split())
mean=(a+b)/2
print(round(mean))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b = (int(x) for x in input().split())
print(round((a + b) / 2))

Submission status: Wrong Answer

Solution code:
a, b = (int(x) for x in input().split())
print(int((a + b)/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
"""
author : halo2halo
date : 24,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

n, a = map(int, readline().rstrip().split())


print((n+a+1)/2 if (n+a)%2==1  else (n+a)/2)

Submission status: Wrong Answer

Solution code:
nums = input()
a, b = map(int, nums.split(" "))
print(round((a + b)/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b=INTM()
    print(int((a+b)/2))
if __name__ == '__main__':
    do()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y = map(int,input().split())
print(int(x*y))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.ceil(x))

Submission status: Wrong Answer

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

x=(a+b)//2

print(x)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(round((a+b)/2.0))

Submission status: Wrong Answer

Solution code:
x, y = map(int, input().split())
print(-((x+y)//2))

Submission status: Wrong Answer

Solution code:
x, y = map(int, input().split())
z = (x+y)/2
if int(str(z)[-1])>=5:
  print(int(str(z)[0])+1)
else:
  print(str(z)[0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lst = list(map(int, input().split()))
sum = lst[0] + lst[1]
if sum%2 == 0:
    x = int(sum/2)
else:
    x = int((sum + 1)/2)

Submission status: Wrong Answer

Solution code:
lst = list(map(int, input().split()))
sum = lst[0] + lst[1]
if sum%2 == 0:
    x = int(sum/2)
else:
    x = int(sum + 1)

Submission status: Wrong Answer

Solution code:
# A - Round Up the Mean
import math
a, b = map(int,input().split())
print(math.floor(a+b/2))

Submission status: Wrong Answer

Solution code:
#import sys
import math
#input = sys.stdin.readline

x,y = map(int,input().split())

a = float(x + y)

print(math.ceil(a))
#切り上げ切り捨ては標準モジュールがあるからそれを使う

Submission status: Wrong Answer

Solution code:
import sys
import math
input = sys.stdin.readline

x,y = map(int,input().split())

a = float(x + y)

print(math.ceil(a))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=list(input().split())
x1=int(x[0])
x2=int(x[1])

ave=-(-(x1+x2)/2)
print(ave)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#入力
a,b=input().split()
a=int(a)
b=int(b)

#平均値の小数点以下を切り上げ
if ((a+b)/2)%1==0:
    print((a+b)/2)
else:
    print((a+b)/2-((a+b)/2)%1+1)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    a, b = map(int, input().split())
    mean = (a + b) / 2
    print(round(mean))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if type(a/b) == int:
  print(int(a/b))
else:
  print(int(a/b+1))

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
c = a+b
d = c/2
print(int(d))

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
c = a+b
d = round(c/2)
print(d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b = input().split()
np.trunc((int(a)+int(b))/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = (a+b)/2
print(round(x))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main(a: int, b: int):
    return round((a + b) / 2, 0)


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

Submission status: Wrong Answer

Solution code:
def main(a: int, b: int):
    return round((a + b) / 2)


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

#if a==0 or b==0:
	#c=inta+b
	#print('a')

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

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

Submission status: Wrong Answer

Solution code:
li =input().split()
a= int(li[0])
b= int(li[1])
c = int((a + b)/2)

if a % 2 !=0 | b % 2 != 0:
	c += 1

print(c)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import ceil

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

Submission status: Wrong Answer

Solution code:
from math import ceil

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

Submission status: Wrong Answer

Solution code:
from math import ceil

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

Submission status: Wrong Answer

Solution code:
from math import ceil

def main():
	a, b = list(map(float, input().split(' ')))
	return ceil(a + b / 2)
  
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
#18:50
a,b = map(int,input().split())
print( (a+b+1) // 2 + 1 )

Submission status: Wrong Answer

Solution code:
_,*l=map(int,open(0).read().split())
a=0
for i in list(set(l)):
	c=l.count(i)
	a+=c-i*(c>=i)
print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
print(round((a+b)/2))

Submission status: Wrong Answer

Solution code:
import math
a,b=map(int,input().split()[:2])

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split()[:2])

print((a+b)//2)

Submission status: Wrong Answer

Solution code:
import math
a,b=map(int,input().split()[:2])

print(math.floor((a+b)*0.5))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b = map(int,input().split())
if (a+b)%2==0:
  print((a+b)/2)
else:
  print(int((a+b)/2)+1)

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b = map(int,input().split())
if a==b:
  print(a)
else:
  print(int((a+b)/2)+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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