Let f(n) be the n-th Fibonacci number, given by
f(1) = 0, f(2) = 1, f(n) = f(n-2) + f(n-1), n > 2
Given the value of n, find f(1) + f(2) + ... + f(n).
One positive integer n (n \le 1000).
Print the value of sum modulo 10^9 + 7.
Example 1