Synchrony interview question

Fibonacci series program