(n=gets.to_i).times{|i|puts i!=n/2?' '*(n/2)+'+':'+'*n}