CloudLinux interview question

Write a function that returns the first N elements from the fibonacci sequence