Damyoo is a master at chandelier, who has been making it for years. His chandelier is made with lemons with various colors on top of circular frame. types of colors can be used, and lemons with same colors can be used multiple times. There are enough lemons of each color. Damyoo, by his experience, noticed that a chandelier is beautiful only if the following holds:
For any four distinct lemons and , and having same color, and having same color, and and having different color implies line segment and does not intersect.
For possible different chandeliers, find the number of beautiful chandelier. Note that two chandeliers are considered different even though they become same after some rotation.
Input
The input is given in the following format:
Output
Print one integer on the first line: the number of beautiful chandeliers modulo .
Constraints
- .