def prettify(val: str) -> str: return val.removeprefix("").strip() lines = [] while True: try: lines.append(prettify(input())) except EOFError: break print("\n".join(lines))