General Atomics interview question

Write a function that returns the nth Fibonacci number.