n = input() s = input() int(n.split()) sum = n[0] + n[1] print("{} {}".format(sum, s))