s = input().split() y = input() answer = int(s[0])+int(s[1]) stranswer = str(answer) output = stranswer + " " + y print (output)