Charles Schwab interview question

Write a function to find the nth term in the Fibonacci sequence