import static java.lang.System.out;
public class t {
      static int i, a, t, s, j;
        public static void main(String[] f) {
              
               
                  a =  new java.util.Scanner(System.in).nextInt();
                  t = 2;
                  
              for(i = 0; i<a; i++) {
                         s =a - i;
                p(s);
                out.print("/");
                                h(i*2);
                               out.println("\\");  }
                               out.print("<");
                               h(2*a);
                    out.println(">");  
                      
                     for(i = a; i>0; i--) {
                           
                         s = a-i+1;
                         p(s);
                        
                     out.print("\\");
                    h(a*2-t);
                      t+=2;
                      out.println("/"); 
                      }  
                       
                              
                
        }

static void p(int w) {
        for(j = 0; j<s; j++) {
                        out.print(" "); }
}
static void h(int h) {
         for(j = 0; j<h; j++) {
                                 out.print("#"); 
                                }
}
}
