Fibonacci Sequence#3258

Fibonacci Sequence

1 second
128 megabytes
Very easy (≈850)

The Fibonacci sequence is defined as follows:

For a given value of , find the value of the -th element a_n of the Fibonacci sequence.

Input

One positive integer n~(1 \le n \le 40).

Output

Print the -th element of the Fibonacci sequence.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading