A, B = map(int,raw_input().split()) N = A + B S = raw_input() print "{} {}".format(N,S)