package main import ( "fmt" ) func main() { a := 0 for { n, _ := fmt.Scan(&a) if n == 0 { break } else { // draw tree leaf for i:=0; i<a; i++{ empty := a-i-1 for j:= 0; j<3; j++ { ...