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