import itertools

import math

import fractions

import functools

import copy



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

print((x+y//2))
def main():

    # n = int(input())

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

    # a = list(map(int, input().split()))

    # s = input()

    print((x+y//2))





if __name__ == '__main__':

    main()

import itertools
import math
import fractions
import functools
import copy

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

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


if __name__ == "__main__":
    main()

-import itertools -import math -import fractions -import functools -import copy +def main(): +    # n = int(input()) +    x, y = list(map(int, input().split())) +    # a = list(map(int, input().split())) +    # s = input() +    print((x + y // 2)) -x, y = list(map(int, input().split())) -print((x + y // 2)) + +if __name__ == "__main__": +    main()