CF251E Tree and Table

Description

Little Petya likes trees a lot. Recently his mother has presented him a tree with $ 2n $ nodes. Petya immediately decided to place this tree on a rectangular table consisting of 2 rows and $ n $ columns so as to fulfill the following conditions: 1. Each cell of the table corresponds to exactly one tree node and vice versa, each tree node corresponds to exactly one table cell. 2. If two tree nodes are connected by an edge, then the corresponding cells have a common side. Now Petya wonders how many ways are there to place his tree on the table. He calls two placements distinct if there is a tree node which corresponds to distinct table cells in these two placements. Since large numbers can scare Petya, print the answer modulo $ 1000000007 $ $ (10^{9}+7) $ .

Input Format

The first line contains a single integer $ n $ ( $ 1

Output Format

Print a single integer — the required number of ways to place the tree on the table modulo $ 1000000007 $ $ (10^{9}+7) $ .

Explanation/Hint

Note to the first sample (all 12 variants to place the tree on the table are given below): `

1-3-2 2-3-1 5 4 6 6 4 5

| | | | | | | | | | | |

5 4 6 6 4 5 1-3-2 2-3-1



4-3-2 2-3-4 5-1 6 6 1-5

| | | | | | | |

5-1 6 6 1-5 4-3-2 2-3-4



1-3-4 4-3-1 5 2-6 6-2 5

| | | | | | | |

5 2-6 6-2 5 1-3-4 4-3-1

`