in1 = raw_input() in2 = raw_input() A, B = (in1.split()) S = in2 print A+B, S