def line_to_pos(line: str) -> Tuple[(int, ...)]:
    filtered = ''.join((c for c in line if (c.isdigit() or (c in {'-', ','}))))
    return tuple(map(int, filtered.split(',')))
def line_to_pos(line: str) -> Tuple[(int, ...)]:
    filtered = .join((c for c in line if (c.isdigit() or (c in {'-', ','}))))
    return tuple(map(int, filtered.split(',')))