Pergunta de entrevista da empresa General Atomics

Write a function that returns the nth Fibonacci number.