def parse(filename: str) -> list[tuple[str, str]]: with open(filename) as f: return [tuple(a[:-1].split()) for a in f.readlines()]