import sys print"".join(d for d in sum(map(None,*sys.stdin),())if' '