Amazon interview question

write a program to generate N fibonacci numbers.