Problem:


Handsel

Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen. 

  Write a program to calculate each one’s share given the amount of money Alice and Brown received.

Input

  The input is given in the following format.

a b

A line of data is given that contains two values of money: a (1000 ≤ a ≤ 50000) for Alice and b (1000 ≤ b ≤ 50000) for Brown.

Output

  Output the amount of money each of Alice and Brown receive in a line.

Sample Input 1

1000 3000

Sample Output 1

2000

Sample Input 2

5000 5000

Sample Output 2

5000

Sample Input 3

1000 2000

Sample Output 3

1500



Sample input:
1000 3000


Sample output:
2000

Submission status: Wrong Answer

Solution code:
print(sum(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:
inp = input().split(" ")

print(inp)

Submission status: Wrong Answer

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

a = int(a)
b = int(b)

print(a / b)

Submission status: Wrong Answer

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



print((a + b) / 2)

Submission status: Wrong Answer

Solution code:
# coding=utf-8

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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



print((a + b) // 2)

Submission status: Accepted

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

print((a + b) // 2)

Submission status: Accepted

Solution code:
# coding=utf-8

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

print((a+b)//2)

Submission status: Accepted

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

money = int((a + b) / 2)
print(money)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print((a+b)//2)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 1000<=a<=50000 and 1000<=b<=50000:
    print(int((a+b)/2))
else:
    pass

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b = map(int,input().split())
print((a+b)//2)

Submission status: Accepted

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

Submission status: Accepted

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

print((a+b)//2)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# coding: utf-8
a,b = map(int,input().split())
s = (a+b)//2
print(s)

Submission status: Accepted

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

if a%1000==0 and b%1000==0:
    print(int((a+b)/2))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())

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

Submission status: Accepted

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

print(
    format(
        (a+b)/2,'.0f'
        )
    )

Submission status: Accepted

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

if 1000<=a<=50000 and 1000<=b<=50000 and a%1000==0 and b%1000==0:
   print(int((a+b)/2))
else:
   pass

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

print('%d'%A)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

c = (a+b)
d = c//2
print(d)

Submission status: Accepted

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

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

print(c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
c = (a+b)/2
print('{:.0f}'.format(c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(int(sum(list(map(int,input().split()))) / 2)) #標準入力をして、リスト化して、リストを合計して、2で割って出力する

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 1000<=a<=50000 and 1000<=b<=50000:
    print((a+b)//2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
y=a+b
x=divmod(y,2)
print(x[0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())

print((A+B)//2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
X=(a+b)/2
print('{:0.0f}'.format(X))

Submission status: Accepted

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

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

print(c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())
print((a+b)//2)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# 処理
print((a+b)//2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(sum([int(s) for s in input().split()])//2)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
n=(a+b)//2 #//と/の違い
print(n)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(sum(map(int,input().split()))>>1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
l = raw_input().split()

print (l[0] + l[1] / 2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print((a + b)//2)

Submission status: Runtime Error

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