The numbers a, b, c are given. Implement the recursive function:
Four nonnegative integers: a, b, c~(a, b, c \le 1000) and n~(0 \le n \le 1000).
Print the value of f(n) modulo 10^9 + 7.
Example 1