The Milabs are the inhabitants of the Milab planet. Those bugs have a highly developed brain. By contrast, its prehistoric vocal cords are very limited, something which forced them to develop the odd Nuxaeron language.
The Nuxaeron alphabet is binary. However, instead of writing ones and
zeros (as any good programmer would do), they write parentheses. In
principle,
words of length
can be made up, since each character can be ‘(’ (pronounced
“uhng”) or ‘)’ (pronounced “uhhhn”). But even if they are
so smart, the Milabs are as lazy as the inhabitants of the Earth (or
“()()(()(()))”, as they call it) so they do not want to
memorize too many different words. Therefore, they have set a rule: they
can only say well parenthesized words, i.e., they may say
“()” or “(()())”, but can not say
“())(” or “)(”. For example, these are the
right 5 words of length 6:
To speak Nuxaeron correctly, you
will have to determine how many correct words of length
exist.
Input consists of several natural numbers between 1 and 67.
For every , print the number of Nuxaeron correct words of that size.
If you do not know what are the Catalan numbers, this is a good time to learn it.
Input
1 2 3 4 6 8
Output
0 1 0 2 5 14
Input
28 66
Output
2674440 212336130412243110