from typing import List


def f_list(n: int) -> List[int]:
    """Return a list of the first n Fibonacci numbers."""
    out = []
    a, b = 0, 1
    for _ in range(n):
        a, b = b, a + b
        out.append(a)
    return out