def input_list(size: int) -> list[int]:
    """
    input_list:
    Creates a list and aks user to fill it up.

    Args:
        size (int): Size of the list

    Returns:
        list: The list which has been created by the user.
    """

    # creating an empty list
    store: list[int] = []
    # iterating till the range
    for _ in range(0, size):
        element = int(input())
        # adding the element
        store.append(element)
    return store