AB = input().split() AB[0] = int(AB[0]) AB[1] = int(AB[1]) S = input() N = AB[0] + AB[1] print(f'{N} {S}')