Recursion [I]
The Fibonacci Sequence is a famous sequence defined by the recurrence relation:
For example, can be written as
In this question, you must compute for some value . Since the value may be quite large, output your answer modulo .
Input
Input will contain a single integer
Output
Output should contain a single integer, representing .
Constraints
Example
Input
5
Output
8
Comments