JPMorganChase Interview Question

Write code for fibonacci sequence.