string = input() split_string = string.split() string2 = input() a = split_string[0] b = split_string[1] int_a = int(a) int_b = int(b) sum = int_a + int_b print(sum, string2)