Two Round Dances#11602

Two Round Dances

1 second
128 megabytes
Easy

One day people ( is even) met on a plaza and made two round dances. Find the number of ways people can make two round dances if each round dance consists of exactly people. Each person should belong to exactly one of these two round dances.

Round dance is a dance circle consisting of or more people. Two round dances are indistinguishable (equal) if one can be transformed to another by choosing the first participant. For example, round dances [1, 3, 4, 2], [4, 2, 1, 3] and [2, 1, 3, 4] are indistinguishable.

Input

One even integer n~(2 \le n \le 20).

Output

Print the number of ways to make two round dances. It is guaranteed that the answer fits in the -bit integer data type.

Examples

For example, for n = 4 the number of ways is :

  • one round dance — , another — ;

  • one round dance — , another — ;

  • one round dance — , another — .

Example 1

Loading
Loading