A, B = map(int, raw_input().split()) S = raw_input() print str(A + B) + " " + S