def compute_fibonnaci(n: int):
    """
    Compute the nth term in the fibonacci sequence.
    """
    if n == 0:
        return 0
    if n == 1:
        return 1
    return compute_fibonnaci(n-2) + compute_fibonnaci(n-1)