j="".join r=list(open('/dev/fd/0')) print j(map(j,zip(*[j(j(i).split('|')).rjust(len(r)-1,'|')+'|'for i in zip(*r)])))