There is a train going from Station A to Station B that costs X yen (the currency of Japan).
Also, there is a bus going from Station B to Station C that costs Y yen.
Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then travels from Station B to Station C by bus.
How much does it cost to travel from Station A to Station C if she uses this ticket?

-----Constraints-----
 - 1 \leq X,Y \leq 100
 - Y is an even number.
 - All values in input are integers.

-----Input-----
Input is given from Standard Input in the following format:
X Y

-----Output-----
If it costs x yen to travel from Station A to Station C, print x.

-----Sample Input-----
81 58

-----Sample Output-----
110

 - The train fare is 81 yen.
 - The train fare is 58 ⁄ 2=29 yen with the 50% discount.
Thus, it costs 110 yen to travel from Station A to Station C.

Difficulty: introductory

Starter code:

Solutions:
train_fare, bus_fare = list(map(int, input().split()))
print((train_fare + bus_fare // 2))


x, y = list(map(int, input().split()))
print((x + y//2))


X, Y = map(int, input().split())

print(X + int(Y/2))

x,y=map(int,input().split())
print(x+y//2)

x, y = map(int, input().split())
print(x + y//2)

x, y = map(int,input().split())
print(x + y//2)


def main():
    x, y = list(map(int, input().split()))
    print((x + int(y * 0.5)))


def __starting_point():
    main()

__starting_point()

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

x, y = list(map(int, input().split()))
print(int(x + y / 2))

X,Y = map(int,input().split())
ans = X + Y // 2
print(ans)

import sys


stdin = sys.stdin
def ns(): return stdin.readline().rstrip()
def ni(): return int(stdin.readline().rstrip())
def nm(): return list(map(int, stdin.readline().split()))
def nl(): return list(map(int, stdin.readline().split()))


def main():
    x, y = nm()
    print((x + y // 2))


def __starting_point():
    main()

__starting_point()

X, Y = map(int, input().split())
print(X + Y // 2)

X, Y = map(int, input().split())

print(X + Y//2)

x, y = map(int, input().split())
print(int(x + y/2))

x,y=map(int,input().split())
print(x + y//2)

X,Y = map(int, input().split())
print(int(X + (Y/2)))

x,y=map(int,input().split())
print(x+y//2)

X,Y=map(int,input().split())
print(X+int(Y/2))

X,Y = map(int,input().split())
print(X + Y//2)

X,Y = map(int,input().split())
print(X + Y//2)

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

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

print((x + y // 2))


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

x, y = map(int, input().split())
print(x + y // 2)

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

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

x, y = map(int, input().split())
print(x+(y//2))

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

x, y = map(int, input().split())
res = x + y // 2
print(res)

x, y = map(int,input().split())
print(x+y//2)

x,y = map(int,input().split())
ans = x + y//2
print(ans)

x,y=map(int,input().split())
print(int(x+y/2))

x,y=map(int, input().split())
print(x+y//2)

x, y = list(map(int, input().split()))
print((x+y//2))


x, y = list(map(int, input().split()))
print((x + y//2))


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


x,y = map(int,input().split())
print(x+y//2)

X,Y =map(int,input().split())
print(int(X+Y/2))

# author:  Taichicchi
# created: 11.10.2020 10:43:46

import sys

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

print((x + y // 2))


n,m = map(int, input().split())
print(n+m//2)

X, Y = map(int, input().split())

print(int(X + (Y / 2)))

X, Y = map(int, input().split())
print(int(X+Y/2))

x, y = map(int, input().split())
print(x + y//2)

X ,Y= map(int,input().split())
ans = int(X + Y/2)
print(ans)

x,y = map(int,input().split())
print(x+y//2)

x, y = map(int, input().split())
print(x + y // 2)

def mapt(fn, *args):
    return tuple(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    x, y = Input()
    print(x + y // 2)


main()

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

X, Y = list(map(int, input().split()))
print((X + Y//2))


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

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

print((x + (y // 2)))


import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    X, Y = list(map(int, readline().split()))

    print((X + Y // 2))

    return


def __starting_point():
    main()

__starting_point()

x, y = map(int, input().split())
print(x + y//2)

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

x,y=map(int,input().split())
print(int(x+y/2))

x,y = map(int, input().split())
print(x+y//2)

X,Y = map(int,input().split())
print(X+Y//2)

x,y=map(int,input().split())
print(x+y//2)

x,y=map(int,input().split())
print(x+y//2)

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

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

x, y = map(int, input().split())
ans = x + y//2
print(ans)

#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]
#a = [input() for _ in range(n)]

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

print((x+y//2))


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

rStr = input()

A = int(rStr.split(' ')[0])
B = int(rStr.split(' ')[1])

result = A + int(B / 2)

print(result)


x, y = map(int, input().split())
print(x + (y // 2))

x, y = map(int, input().split())
print(x+y//2)

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

x,y=map(int,input().split())
print(x+y//2)

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

print(x+y//2)

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

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

a = [int(s) for s in input().split()]
print(int(a[0] + a[1] // 2))

x,y=map(int,input().split())
print(x+y//2)

x, y = list(map(int, input().split()))
print((x + y // 2))


x, y = map(int, input().split())
print(x + (y // 2))

x,y = map(int, input().split())
print(int(x + y/2))

X,Y = list(map(int,input().split()))
print((X + Y //2))


x,y = map(int,input().split())
print(x+y//2)

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

print(a + int(b / 2))

x, y = map(int, input().split())
print(x + y//2)

x,y=map(int, input().split())   
print(x+int(y/2))

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

print(a + b//2)

x,y = map(int,input().split())
print(x+y//2)

X, Y = map(int, input().split())
print(X + (Y//2))

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

X,Y=list(map(int,input().split()))
print((X+Y//2))



x,y=map(int,input().split())
print(x+(y//2))

X, Y = [int(i) for i in input().split()]
print((X + Y // 2))



url = "https://atcoder.jp//contests/abc113/tasks/abc113_a"

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

def __starting_point():
    main()

__starting_point()

x,y = map(int,input().split())
print(x+y//2)

X,Y=map(int,input().split())
print(X+Y//2)

x,y=list(map(int,input().split()))
print((int(x+y/2)))


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

print(x + y//2)

x, y = list(map(int, (input().split())))
print((int(x + y / 2)))


x,y = map (int, input ().split ())
z = round (y/2)
print (x+z)

X,Y = map(int,input().split())
print(X+Y//2)

X, Y = map(int, input().split())
print(X+Y//2)