#D6500. Fibonacci Number
Fibonacci Number
Fibonacci Number
Write a program which prints -th fibonacci number for a given integer . The -th fibonacci number is defined by the following recursive formula:
\begin{equation*} fib(n)= \left \{ \begin{array}{ll} 1 & (n = 0) \\ 1 & (n = 1) \\ fib(n - 1) + fib(n - 2) & \\ \end{array} \right. \end{equation*}
Constraints
Input
An integer is given.
Example
Input
3
Output
3
inputFormat
Input
An integer is given.
Example
Input
3
outputFormat
Output
3
样例
3
3