n,m = map(int,input().split()) s = input() print(n + m, s)