There is a TV remote that contains three buttons:
Find the number of ways such that after N clicks on the remote you remain on the same channel.
You can assume there are infinite channels.
Since the answer can be too large, print answer modulo 1000000007.
Input format
Output format
For each test case, print the number of ways modulo 1000000007 in a single line.
Constraints
1≤T≤100
1≤N≤100000
Sum of N over all test cases does not exceed 1e5
These three moves leads to no channel changes: