_=list(open('/dev/fd/0')) print''.join(sorted(_,key=_.index))