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