JPMorganChase interview question

Write code for fibonacci sequence.