Fibonacci sequence#2031

Fibonacci sequence

1 Sekunde
128 Megabyte
Sehr leicht

One integer is given. Print the first elements of the Fibonacci sequence:

Eingabe

One integer (2 \le n \le 31).

Ausgabe

Print the first elements of the Fibonacci sequence, each on a separate line.

Beispiele

Beispiel 1

Loading
Loading