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