# -*- coding: utf-8 -*- inAB= map(int, raw_input().split()) S = raw_input() N = int(inAB[0]) + int(inAB[1]) print N, S