#include<stdio.h>
                                               ;FILE*                 z;char*
                                            SA[                               ]={             "\""
                                         /*                                      */#  define x    else if
                                      "1        \'                                  1/?30'",
                                    ",        0\\2                                     1  ","1","*!4/\
                                  !          6 0       "                   ,            "*!5!  4"   ,"*!5\
               /!0              !4         neko        "     ,  "          \n               0!6,  d"     },
                * NA[         ]=          { "(        ?     3 \"  1        \'                 10","  \
                \\    2,     0           1 "         ,     " 1   "          ,"        *!+    4   (?30 ",
                "(      !5  *           ! 6          !   4" ,    "  *   !   +4        (! 5    !4   "," *\
                  !6)     =-           ! 0          )   -!4!     4  "}  ,*  RA    [   ] = {     "#   !7\"\
                     1\'    1         0 ",          " \\ 2 ,   31   ",  "1  ","   ,    4 # !     7\"   1\'\
                        10"  ,       "  ,           54  " ,    ",  64"  ,"  ,04   `",  " \n0       !7"  },*
                         R4[] =     {  "           \"1;!30'   ","  \\   2,  01",   "1, "  , "      \n0!3 "}
    ,**A,*Y,*U,*MI=     /*s  n r   r  */        __FILE__ ,    _[  256   *8  *04]  ;int NO , Z   ,   O, M, I
 ,y,                u,r,i,k,   o;mi   () {     I= fread(_,   +1, 8192  ,z  );} e( ){y= u= r= i  =    k= o= -
    0;}    no(){for(  ;* U<48  ||*    U >3  *19 ;U++){}}q(  char*d){; /*t  omo */ puts (d ); ;   }   p(  int
       d){;         putchar (d);}   n() { {;  }Z=0  ;for(U  =A[y]; ( 48>* U ) ||*U>=58;U=U + 1   )   if(  *U
                     -32){   if(*U==44) {  if(*Y  -NO)no(); } x(*U == 61){if( u-1 )no( );}x(*U   ==   43
                 ){u++;}x    ( *U==45) {u--;     }x(* U== 33){++  Z; } x ( (  *U  ==63)){Z=02   |Z ;  if
            (o)Z|=4  ;x(    1)o=* Y;}x (1      ){   ; if(*Y-*U   ){    no         ();}x (39==  (*  U )||
       *U==34)NO= *U;}}    y=*U  -06 *8;}     int   t( ){e();Y=_;     Z=           0x0;  for  (;i< I &&
   !(Z&     1) &&k<5;     i++)  {if(10 ==*    Y)k   ++;n();Y++;}k                  =01& Z;   return!k ;
           } b(){;mi    ();A=   SA; if (t(    )){  A=NA;if(t()){A                  =RA;if( t() ){;A=
         R4 ;if(t(     ))A  =  SA; }} }for    (e(  );I;mi()){Y=_;                     for(i= 0;i<I;
        i  ++,Y++    ){if  (M){if  (! r){r    =r=   printf("%7d"                      "\40",++ k);
       }  if(10     ==*  Y)r =0;  }n( );if(   Z& 4  )p((  Z&1)                       ?o:32) ;  if(
      !( Z &2)    ){; if(( Z&01  )-M){ if(o   ){ p  ( 32)                              ; o= 0  ;}p(
      *   Y>   8&&* Y<14? *Y:  32); }x (1){;  if(o)  {  p(                              o); o=  0;}
       p(*  Y);}}}  }  }int   main /*  2/ 27   */ (  int m,               char         * /*  ume *
     ,"       '*/*a) {M=(*  MI )&  1  ;if  (m  >1) {  for  (                         O=  01;O<m
             ; ++     O  ){if (+    m> 2&& M)q (  a[O ]  )                         ;if( (z  )
               =      fopen (a[    O/*c  06*/], "rb")){b                        ();  fclose
                     (     z);  }x(1 ) q(  "error    \10"         );}        }x(  1){ z
                          =stdin ;  b(  /*_' ,*/);                 }  return         0
                            ;{               ;                    }
                                                                 }