Problem:


Score: 100 points

Problem Statement

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 1

81 58

Sample Output 1

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.

Sample Input 2

4 54

Sample Output 2

31



Sample input:
81 58


Sample output:
110

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(x+y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y = input().split()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
data = input().split()

nums = list(map(int, data))
ans = nums[0] + nums[1] / 2

print(ans)

Submission status: Wrong Answer

Solution code:
hn = input().rstrip().split(" ")
print(int(hn[0])+int(hn[1])/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A-B間の運賃の入力 #B-C間の運賃の入力
X, Y= map(int, input().split())
#制約
if  X < 1 or Y%2 != 0 or Y > 100:
    SystemExit
#A-C合計運賃の計算と出力
print(X+Y/2)

Submission status: Wrong Answer

Solution code:
#A-B間の運賃の入力 #B-C間の運賃の入力
X, Y= map(int, input().split())
#制約
if  X < 0 or Y%2 != 0 or Y > 100:
    SystemExit
#A-C合計運賃の計算と出力
print(X+Y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
X, Y = map(int, input().split())
# 運賃の計算
x = X + Y/2
# 出力
print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inp = input()

inpsp = inp.split(' ')
AtoB = inpsp[0]
BtoC = inpsp[1]
print(int(AtoB) + int(BtoC)/ 2)

Submission status: Wrong Answer

Solution code:
inp = input()

inpsp = inp.split(' ')
AtoB = inpsp[0]
BtoC = inpsp[1]

price = int(AtoB) + int(BtoC)/ 2
print(price)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list = input().split(" ")
print(str(int(list[0])+int(list[1])))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Wrong Answer

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

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())
print((x+y)//2)

Submission status: Wrong Answer

Solution code:
lis = input().split()
lis = [int(lis[i]) for i in range(2)]

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

Submission status: Wrong Answer

Solution code:
# -*- coding:UTF-8 -*-

'''
@author kasaii
@data 11.10.18
'''

def input_and_check(string='Input costs without using ticket:'):
    #input
    costs = input(string)
    a_to_b = int(costs.split(' ')[0])
    b_to_c = int(costs.split(' ')[1])
    #check
    if (1 <= a_to_b \
    and b_to_c <= 100) \
    and (b_to_c % 2 == 0) \
    and (type(a_to_b) \
    and type(b_to_c) == int):
        return a_to_b,b_to_c
    else:
        return input_and_check('Wrong input, reenter:')

def calculate(total_costs):
    return total_costs[0] + total_costs[1]/2

if __name__ == '__main__':
    print(int(calculate(input_and_check())))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = input_data[0]
y = input_data[1]/2

print(x+y)

Submission status: Wrong Answer

Solution code:
input_data = list(map(int,input().split()))
x = input_data[0]
y = input_data[1]

print(x+y/2)

Submission status: Wrong Answer

Solution code:
input_data = list(map(int,input().split()))
x = input_data[0]
y = input_data[1]

print((x+y)/2)

Submission status: Wrong Answer

Solution code:

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

print(x + y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X, Y = map(int, input().split())

print(str(X+Y/2))

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

Solution code:
X , Y = input().strip().split(" ")
print(int(X) + int(Y)/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(x,y):
    return x+y/2
    
# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(a, b):
   def a (a,b):
    return(int(a)+int(b)//2)


def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(X,Y):
    return X + Y/2

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(X,Y):
    return X + Y/2


def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(X,Y):
    return X + Y/2


def readQuestion():
    ws = sys.stdin.readline().strip().split()
    a = int(ws[0])
    b = int(ws[1])
    return (a, b)

def main():
    print(solve(*readQuestion()))

# Uncomment before submission
# main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list = input().split()
X = list[0]
Y = list[1]

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

Submission status: Wrong Answer

Solution code:
list = input().split()
X = list[0]
Y = list[1]

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

Submission status: Wrong Answer

Solution code:
print(eval(input().replace(' ','+0.5*')))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

# coding: utf-8

# In[1]:


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


# In[2]:


y = y/2


# In[3]:


z = x + y


# In[4]:


print(z)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = []
x = (input('').split())
print(int(x[0])+ int(x[1])/2)

Submission status: Wrong Answer

Solution code:
#input one int
#a = int(input())

#input some val
#a, b, c = (int(i) for i in input().split())
#val = [[int(i) for i in input().split()] for i in range(N)]

#input matrix
#a = [input().split() for i in range()]

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

Submission status: Wrong Answer

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

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)

Submission status: Wrong Answer

Solution code:
print("Super ultimate great language")

Submission status: Wrong Answer

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


print(a + b/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X, Y=input().split(" ")
X=int(X)
Y=int(Y)

print(X+Y/2)

Submission status: Wrong Answer

Solution code:
print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(x+1/2*y);

Submission status: Wrong Answer

Solution code:
ls = input().strip().split(' ')
print( int(ls[0]) + int(ls[1]) / 2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X, Y = map(int, input().split())		# 5 7

print(X + (Y/2))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(X+(Y/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inpu=input("type yen")
yen=inpu.split()
man=int(yen[0])+int((int(yen[1])/2))
print(str(man))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inpu=input("type yen")
yen=inpu.split()
man=int(yen[0])+(int(yen[1])/2)
print(str(man))

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(" "))
price = x + y/2
print(price)

Submission status: Wrong Answer

Solution code:
yen=input("type yen").split()
man=int(yen[0])+(int(yen[1])/2)
print(str(man))

Submission status: Wrong Answer

Solution code:
x_y=input().split()
x=int(x_y[0])
y=int(x_y[1])
print(x+y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y = (int(i) for i in input().split())

print(x+y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
yen=input().split(" ")
print(str(int(yen[0])+int(yen[1])/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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())
print("{}".format(x + (y/2)))

Submission status: Wrong Answer

Solution code:
from sys import stdin

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

Submission status: Wrong Answer

Solution code:

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

print(X + (Y/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = X + Y / 2
print(ans)

Submission status: Wrong Answer

Solution code:

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

print(X+Y/2)

Submission status: Wrong Answer

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

Submission status: Time Limit Exceeded

Solution code:
X,Y=map(int,input().split())
print(X+Y//2-1)
for i in range(20**7):
  i+=1

Submission status: Time Limit Exceeded

Solution code:
X,Y=map(int,input().split())
print(X+Y//2)
for i in range(20**7):
  i+=1

Submission status: Accepted

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

Submission status: Accepted

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

print(x+y//2)

Submission status: Accepted

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

Submission status: Accepted

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

print(x + (y // 2))

Submission status: Accepted

Solution code:
x,y=map(int, input().split())
print(x+y//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:
x,y=map(int,input().split())
print(int(x+y/2))

Submission status: Accepted

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

print(a + int(b / 2))

Submission status: Accepted

Solution code:
rStr = input()

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

result = A + int(B / 2)

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    # n = int(input())
    x, y = map(int, input().split())
    # a = list(map(int, input().split()))
    # s = input()
    print(x+y//2)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X, Y = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
n,m = map(int, input().split())
print(n+m//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:
x, y = map(int, (input().split()))
print(int(x + y / 2))

Submission status: Accepted

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

print(x + y // 2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y=map(int,input().split())
print(x + y//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:
X,Y =map(int,input().split())
print(int(X+Y/2))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())

X,Y = MI()
print(X + Y//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:
x,y = map(int, input().split())
print(x+y//2)

Submission status: Accepted

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

print(x + y//2)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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 = map(int, readline().split())

    print(X + Y // 2)

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#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 = map(int, input().split())

print(x+y//2)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
print(sum([int(x) if i==0 else int(x)//2 for i,x in enumerate(input().split())]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
	x,y = map(int,input().split())

	print(x + y // 2)

Submission status: Accepted

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

print(int(x + y/2))

Submission status: Accepted

Solution code:
X, Y = map(int, input().split())

print(X + Y//2)

Submission status: Accepted

Solution code:
x,y=map(int,input().split())
print(x+y//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=list(map(int,input().split()))
print(a+int(b/2))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X, Y = map(int, input().split())

ans = X + Y // 2

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(x + y // 2)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

Submission status: Accepted

Solution code:
tmp = input().split(" ")
x = int(tmp[0])
y = int(int(tmp[1])/2)

print(x + y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def resolve():
    X, Y = list(map(int,input().split()))
    print(X+Y//2)

if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

print(x + int(y/2))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# abc113_a.py
# https://atcoder.jp/contests/abc113/tasks/abc113_a

# A - Discount Fare /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点: 100点

# 問題文
# A駅と B 駅を結ぶ鉄道があり、運賃は X円です。
# また、B駅と C 駅を結ぶバスがあり、運賃は Y円です。
# joisinoお姉ちゃんは、A駅から B 駅まで鉄道で移動し、B 駅から C駅までバスで移動すると、バスの運賃が半額になる特別券を手に入れました。
# この特別券を用いたとき、A駅から C駅まで移動するのにいくらかかるか求めてください。

# 制約
#     1≤X,Y≤100
#     Yは偶数
#     入力は全て整数

# 入力
# 入力は以下の形式で標準入力から与えられる。
# X Y

# 出力
# A駅から C 駅まで移動するのに x 円かかるとき、xを出力せよ。

# 入力例 1
# 81 58

# 出力例 1
# 110

#     鉄道の運賃は 81円です。
#     バスの運賃は半額となるため、58⁄ 2=29円です。

# よって、A駅から C 駅まで移動するのに 110円かかります。

# 入力例 2
# 4 54

# 出力例 2
# 31


def calculation(lines):
    # N = int(lines[0])
    X, Y = list(map(int, lines[0].split()))
    # n = lines[0]

    return [X + int(Y/2)]



# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['81 58']
        lines_export = [110]
    if pattern == 2:
        lines_input = ['4 54']
        lines_export = [31]
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    if len(args) == 1:
        mode = 0
    else:
        mode = int(args[1])
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

print(x+y//2)

Submission status: Accepted

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

print(x+y//2)

Submission status: Accepted

Solution code:
X,Y = map(int,input().split())

print(X+Y//2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X, Y = map(int, input().split())

print(X+Y//2)