#include
int main()
{ int n,i,j;
scanf("%d",&n);
for(i=1-n;i printf("%*c\n",abs(i)+1,'*'); return 0; }
printf("%*c\n",abs(i)+1,'*');
return 0;
}