{"raw_statement":[{"iden":"statement","content":"First envisioned by the French mathematician, Blaise Pascal, Pascal's Triangle is a formation of numerals that are arranged in such a way that a number composing a part of the triangle is the summation of the adjacent binomial pair of the previous row in the triangle.\n\nThe only line of input contains a single positive integer $n$.\n\nOutput $n$ lines. The $i$th line should contain $i$ space-separated integers, consisting of the $i$th row of Pascal's Triangle.\n\n"},{"iden":"input","content":"The only line of input contains a single positive integer $n$."},{"iden":"output","content":"Output $n$ lines. The $i$th line should contain $i$ space-separated integers, consisting of the $i$th row of Pascal's Triangle."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ n \\in \\mathbb{Z}^+ $ be the number of rows to generate.  \nFor $ i \\in \\{1, \\dots, n\\} $, let $ R_i = ( \\binom{i-1}{0}, \\binom{i-1}{1}, \\dots, \\binom{i-1}{i-1} ) $ denote the $ i $-th row of Pascal’s Triangle.\n\n**Constraints**  \n$ n \\geq 1 $\n\n**Objective**  \nFor each $ i \\in \\{1, \\dots, n\\} $, output the row $ R_i $ as $ i $ space-separated integers:  \n$$\n\\binom{i-1}{0}, \\binom{i-1}{1}, \\dots, \\binom{i-1}{i-1}\n$$","simple_statement":"Given a positive integer n, print the first n rows of Pascal's Triangle.  \nEach row i has i numbers, separated by spaces.","has_page_source":false}