a = input () b = input () c = a.split( ) d = c[0]+c[1] print(d+" "+b)