General Atomics Interview Question

Write a function that returns the nth Fibonacci number.