first = input() split_first = first.split() A = split_first[0] B = split_first[1] S = input() print(A + B, S)