i=1;n=input()-1 while n:n-=1;print' '*n+'*'*i;i+=2 print(i/2-2)*' '+"G*F"