function  fi=ex318(k)
    if(k<=2)
        fi=1;
    else
        fi=ex318(k-1)+ex318(k-2);
    end
    