12157 - Pascal's Triangle Generator   

Description

Please write a program to generator Pascal's Triangles.

Input

The first integer is the number of Pascal's Triangles we want to generate.

The following integers are the required heights of of the Pascal's Triangles, respectively.

Output

The generated Pascal's Triangles.

Sample Input  Download

Sample Output  Download

Tags




Discuss