# -*- coding: utf-8 -*- A = input() B = A.split() a = int(B[0]) b = int(B[1]) s = input() print(a + b, s)