b41f7abc6b4fd6b23494089447865c1f5d6d4681
3 # Input: stdin (consumes)
4 # Output: stdout (newline delimited)
5 # Example: echo -e "foo\nbar\n" | python3 this_script.py
6 # Depends: Python 3.10.12
12 """Reads from stdin and outputs to stdout."""
14 for line
in sys
.stdin
:
15 # Remove trailing newline character
23 if __name__
== "__main__":