l = map(int, raw_input().split()) a = l[0] b = l[1] s=input() print(a+b,s)