Snyk Interview Question

you are given two consecutive fibonachi items, need to implement a recursive function to print all element until those given two elements an-1, an