n=input()-1 m=-1 while n:m+=2;n-=1;print' '*n+'*'*m print'G*F'.center(m)