function fi=ex319(k)
    f=zeros(1,k);
    f(1)=1;f(2)=1;
    for n=3:k
        f(n)=f(n-1)+f(n-2);
    end
    fi=f(k);