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