<reponame>KATO-Hiro/AtCoder
# -*- coding: utf-8 -*-


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


if __name__ == '__main__':
    main()

# -*- coding: utf-8 -*-


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


if __name__ == '__main__':
    main()
# -*- coding: utf-8 -*-