def parse(filename: str) -> list[int]: with open(filename) as f: return [line.strip() for line in f.readlines()]