# 2019-11-11 14:35:02(JST)

import sys

# import collections

# import math

# from string import ascii_lowercase, ascii_uppercase, digits

# from bisect import bisect_left as bi_l, bisect_right as bi_r

# import itertools

# from functools import reduce

# import operator as op

# from scipy.misc import comb # float

# import numpy as np 



def main():

    x, y = (int(i) for i in sys.stdin.readline().split())

    ans = x + y // 2

    print(ans)







if __name__ == "__main__":

    main()

import sys



x, y = list(map(int, sys.stdin.readline().split()))



def main():

    return x + y // 2



if __name__ == '__main__':

    ans = main()

    print(ans)
# 2019-11-11 14:35:02(JST)
import sys

# import collections
# import math
# from string import ascii_lowercase, ascii_uppercase, digits
# from bisect import bisect_left as bi_l, bisect_right as bi_r
# import itertools
# from functools import reduce
# import operator as op
# from scipy.misc import comb # float
# import numpy as np
def main():
    x, y = (int(i) for i in sys.stdin.readline().split())
    ans = x + y // 2
    print(ans)


if __name__ == "__main__":
    main()

import sys

x, y = list(map(int, sys.stdin.readline().split()))


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


if __name__ == "__main__":
    ans = main()
    print(ans)

-# 2019-11-11 14:35:02(JST) -# import collections -# import math -# from string import ascii_lowercase, ascii_uppercase, digits -# from bisect import bisect_left as bi_l, bisect_right as bi_r -# import itertools -# from functools import reduce -# import operator as op -# from scipy.misc import comb # float -# import numpy as np +x, y = list(map(int, sys.stdin.readline().split())) + + -    x, y = (int(i) for i in sys.stdin.readline().split()) -    ans = x + y // 2 -    print(ans) +    return x + y // 2 -    main() +    ans = main() +    print(ans)