#c22904. 斐波那契数列3
斐波那契数列3
Fibonacci Sequence 3
Problem Description
The Fibonacci sequence is the following sequence: . Starting from the third number, each number is the sum of the previous two.
Compute the sum of the first terms of this sequence, modulo .
Input Format
The first line contains an integer .
Output Format
Output one integer — the answer.
Sample Input
5
Sample Output
12
Constraints
For of the test cases, .