Print the first 10 elements of the Fibonacci sequence.
MediumProblem Statement
Print the first 10 elements of the Fibonacci sequence.
Sample Input
10
Sample Output
0 1 1 2 3 5 8 13 21 34
Limits
Time: 2s · Memory: 256 MB
Print the first 10 elements of the Fibonacci sequence.
10
0 1 1 2 3 5 8 13 21 34
Time: 2s · Memory: 256 MB