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