Recursion [0]
In this problem we'll be evaluating the recursive function , where , , and for anything larger:
For example, , , , and so on.
Since the number computed may be large, you should compute the value modulo
Input
Input will contain a single integer .
Output
Output should be a single integer, .
Comments