bigstr='' s='' while True: s=input() if s=='quit': break try: if bigstr!='': bigstr+='\n' bigstr+=s except: break print(bigstr)