One integer is given. Print the first elements of the Fibonacci sequence:
f(1) = 1,
f(2) = 1,
f(k) = f(k - 1) + f(k - 2) for k = 3, 4, \ldots
One integer (2 \le n \le 31).
Print the first elements of the Fibonacci sequence, each on a separate line.
Beispiel 1