Count the ways to fill a 3×N wall completely with 2×1 tiles and 1×2 tiles. Tiles must not overlap and must not stick out of the wall. You may use any number of tiles of either shape.
Input
The first line contains N (1≤N≤1018).
Output
Print the number of ways modulo 109+7 on the first line.