int main(a,t,i){scanf("%d",&a);t=--a;while(t){for(i=1;i<=2*a-t;i++)printf("%s",i>=t?"*":" ");t--;puts("");}printf("%*sG*F",a-2,"");}