Implement the recursive function:
One integer n~(0 \le n \le 1000).
Print the value of f(n).
Example 1