#include<stdio.h> int main() { int i,n,j; while(scanf("%d",&n)!=EOF) { getchar(); for(i=1;i<=n;i++) { for(j=1;j<=n;j++) { if(j<=(n-i)) printf(" "); else printf("* "); } printf("\n"); } } }