Fibonacci sequence is as follows:
, , , , , , , ,
It is not difficult to see that in this sequence, the first two numbers are equal to and all other numbers, starting with the third, are equal to the sum of the two previous numbers.
In other words, the Fibonacci sequence is given by the following recurrent formula:
Write a program that finds the -th Fibonacci number.
One positive integer (1 \leq n \leq 10000).
Print the -th Fibonacci number.
Example 1
Example 2
Example 3