Write a function to generate the nth Fibonacci number.
The input is an integer 'n'.
user
Dish: Spaghetti Carbonara
Ingredients: ['Spaghetti noodles', 'Salt', 'Pepper', 'Olive oil', 'Eggs', 'Pancetta'].
assistant