n=scan("stdin") cat(a<-rep(c(rep(" ",m<-n%/%2),"+ "),m),rep("+",n)," ",a,sep="")