# coding:UTF-8 a, b = map(int, input().split()) s= str(input()) N = str(a + b) print(s + " " + N)