Code Submission Evaluation System Login

CSES Problem Set

Fibonacci Numbers


Task | Statistics


CSES - Fibonacci NumbersCSES - Fibonacci Numbers

Time limit:1.00 s Memory limit:512 MB

The Fibonacci numbers can be defined as follows: Your task is to calculate the value of $F_n$ for a given $n$.

Input

The only input line has an integer $n$.

Output

Print the value of $F_n$ modulo $10^9+7$.

Constraints
Example

Input:
10

Output:
55