#!/usr/bin/env python3 import sys import fileinput import contextlib def main() -> None: for line in fileinput.input(encoding="utf-8", mode="r"): # type: ignore sys.stdout.write(line.casefold()) sys.stdout.flush() if __name__ == "__main__": with contextlib.suppress(KeyboardInterrupt): main()