Consider a stanza of poetry consisting of lines. All lines are divided into several classes, and within each class, the lines rhyme with each other. In this problem, we shall consider only those stanzas in which every line rhymes with at least one other line.
For example, for quatrains, there are four possible rhyme schemes that satisfy the above conditions: AABB, ABAB, ABBA, and AAAA.
Count the number of different rhyme schemes for a stanza of a given size.
The input file contains a positive integer , n \leq 26.
In the output file, output the number of rhyme schemes applicable to a stanza of lines.
Example 1