Hide
Problem C
Catalan Numbers
Input
The first line of input consists of an integer
Output
Then for each query
Sample Input 1 | Sample Output 1 |
---|---|
6 1 2 3 4 5 50 |
1 2 5 14 42 1978261657756160653623774456 |