l=[] try: while 1:l+=[raw_input()] except:EOFError m=[] for s in l: for i,c in enumerate(s): if len(m)>i:m[i]+=c else:m+=[c] print''.join(m)