n=input() for i in range(n-1):print" "*(n-i-2)+"**"*i+"*" print" "*(n-4),"G*F"