from typing import List


def parse_input(input_file: str) -> List[int]:
    """Parses a file of line-separated integers into a list"""
    with open(input_file, "r") as file:
        data = list(map(int, file))
    return data