include<bits/stdc++.h>

using namespace std;
int main()
{
int n;
while(cin>>n)//多组输入
{
for(int i=0;i<n;i++)//控制行
{
for(int j=0;j<=i;j++)//因为是三角形所以输出的个数应该等于所在行
{
cout<<"*"<<" ";//*后有空格
}
cout<<endl;//回车
}
}
}