1#include<iostream>
2using namespace std;
3
4int main(){
5 int num, count = 1;
6 cin>> num;
7
8 for (int i = 1; i <= num; i++)
9 {
10 for (int j = 1; j <= i ; j++)
11 {
12 cout << count << " ";
13 count ++;
14 }
15 cout << endl;
16
17 }
18
19 return 0;
20}