Standard Chartered Bank interview question

Write a small piece of code to implement Fibonacci sequence.