Given two integers and , compute the value:
where f_i is the -th Fibonacci number.
The Fibonacci sequence is defined as follows:
Since the answer can be very large, print it modulo 10^9 + 7.
One line contains two integers and k~(1 \le n \le 10^{18}, 1 \le k \le 10^5) where:
is the number of terms in the sum,
is the exponent applied to each Fibonacci number.
Print one integer — the value of the sum:
Example 1
Example 2