AtCoder Beginner Contest 113 - Discount Fare

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.

Source: atcoder | Difficulty: EASY


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


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


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


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


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


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


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


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


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


A = list(map(int, input().split()))
print(A[0] + A[1] // 2)


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


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


(x, y) = [int(_) for _ in input().split()]
print(x + y // 2)


L = list(map(int, input().split()))
print(L[0] + L[1] // 2)


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


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


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


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


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


(X, Y) = map(int, input().split())
print(int(X + 0.5 * Y))


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


(ab, bc) = map(int, input().split())
print(ab + int(bc / 2))


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


(x, y) = (int(i) for i in input().split(' '))
print(x + y // 2)


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


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


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


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


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


num = input().split()
print(int(num[0]) + int(num[1]) // 2)


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


(x, y) = map(int, input().split())
print(x + int(0.5 * y))


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


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


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


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

def __starting_point():
	main()
__starting_point()


(T, N) = map(int, input().split())
print(int(T + N / 2))


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


(x, y) = (int(k) for k 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) = input().split()
print(int(int(y) / 2) + int(x))


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


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


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


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


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


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


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


(AB, BC) = map(int, input().split())
print(AB + BC // 2)


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


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


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


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


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


(N, M) = map(int, input().split())
print(N + int(M / 2))


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


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


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


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


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


l = list(map(int, input().split()))
print(l[0] + l[1] // 2)


rStr = input()
A = int(rStr.split(' ')[0])
B = int(rStr.split(' ')[1])
result = A + int(B / 2)
print(result)


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


(x, y) = [int(s) for s in input().split()]
print(x + y // 2)


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


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


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


(x, y) = (int(n) for n in input().split())
print(x + y // 2)


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


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


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


(x, y) = [int(v) for v in input().split()]
print(x + y // 2)


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


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


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


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


(x, y) = map(int, input().split())
print(str(x + (y >> 1)))


(T, A) = map(int, input().split())
print(T + A // 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()


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


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


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


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


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


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