from typing import List


def read_integers() -> List[int]:
    """
    Prompts the user to input a list of integers
    seperated by spaces.

    :return: A list of integers
    """
    list_string = input("Enter some integers: ")

    if len(list_string) == 0:
        return []
    else:
        return [int(x) for x in list_string.split(" ")]