Computer Programming Contest Preparation

ToolBox - Source for: 125/12503/u2.in



/home/toolbox/public_html/solutions/125/12503/u2.in
    1 20
    2 4
    3 RIGHT
    4 LEFT
    5 LEFT
    6 SAME AS 1
    7 10
    8 LEFT
    9 SAME AS 1
   10 SAME AS 2
   11 RIGHT
   12 SAME AS 3
   13 SAME AS 2
   14 RIGHT
   15 LEFT
   16 SAME AS 3
   17 SAME AS 5
   18 8
   19 LEFT
   20 RIGHT
   21 SAME AS 1
   22 LEFT
   23 RIGHT
   24 RIGHT
   25 LEFT
   26 LEFT
   27 5
   28 LEFT
   29 SAME AS 1
   30 RIGHT
   31 RIGHT
   32 RIGHT
   33 17
   34 LEFT
   35 SAME AS 1
   36 SAME AS 2
   37 LEFT
   38 SAME AS 4
   39 SAME AS 1
   40 SAME AS 4
   41 LEFT
   42 SAME AS 8
   43 SAME AS 1
   44 SAME AS 8
   45 SAME AS 3
   46 RIGHT
   47 RIGHT
   48 SAME AS 1
   49 SAME AS 10
   50 LEFT
   51 15
   52 LEFT
   53 SAME AS 1
   54 SAME AS 1
   55 RIGHT
   56 SAME AS 3
   57 SAME AS 5
   58 RIGHT
   59 SAME AS 1
   60 LEFT
   61 RIGHT
   62 RIGHT
   63 SAME AS 2
   64 RIGHT
   65 SAME AS 7
   66 LEFT
   67 5
   68 LEFT
   69 SAME AS 1
   70 LEFT
   71 LEFT
   72 LEFT
   73 10
   74 LEFT
   75 RIGHT
   76 LEFT
   77 SAME AS 3
   78 SAME AS 4
   79 RIGHT
   80 SAME AS 4
   81 SAME AS 5
   82 LEFT
   83 SAME AS 1
   84 9
   85 LEFT
   86 SAME AS 1
   87 SAME AS 2
   88 SAME AS 2
   89 SAME AS 4
   90 LEFT
   91 RIGHT
   92 SAME AS 1
   93 RIGHT
   94 14
   95 RIGHT
   96 SAME AS 1
   97 SAME AS 1
   98 RIGHT
   99 LEFT
  100 LEFT
  101 RIGHT
  102 SAME AS 5
  103 RIGHT
  104 LEFT
  105 SAME AS 2
  106 SAME AS 5
  107 LEFT
  108 LEFT
  109 19
  110 RIGHT
  111 LEFT
  112 SAME AS 2
  113 SAME AS 2
  114 LEFT
  115 RIGHT
  116 SAME AS 5
  117 SAME AS 3
  118 SAME AS 1
  119 LEFT
  120 RIGHT
  121 SAME AS 11
  122 SAME AS 12
  123 SAME AS 4
  124 SAME AS 2
  125 SAME AS 1
  126 LEFT
  127 SAME AS 16
  128 RIGHT
  129 3
  130 RIGHT
  131 LEFT
  132 RIGHT
  133 9
  134 LEFT
  135 SAME AS 1
  136 LEFT
  137 SAME AS 3
  138 SAME AS 3
  139 RIGHT
  140 LEFT
  141 RIGHT
  142 SAME AS 2
  143 1
  144 RIGHT
  145 5
  146 RIGHT
  147 SAME AS 1
  148 SAME AS 1
  149 SAME AS 3
  150 SAME AS 2
  151 3
  152 RIGHT
  153 SAME AS 1
  154 SAME AS 2
  155 20
  156 RIGHT
  157 SAME AS 1
  158 LEFT
  159 RIGHT
  160 RIGHT
  161 SAME AS 4
  162 LEFT
  163 RIGHT
  164 LEFT
  165 RIGHT
  166 SAME AS 6
  167 SAME AS 7
  168 SAME AS 1
  169 SAME AS 13
  170 SAME AS 3
  171 SAME AS 8
  172 RIGHT
  173 RIGHT
  174 RIGHT
  175 SAME AS 3
  176 20
  177 LEFT
  178 SAME AS 1
  179 SAME AS 2
  180 SAME AS 1
  181 RIGHT
  182 LEFT
  183 LEFT
  184 RIGHT
  185 LEFT
  186 SAME AS 9
  187 RIGHT
  188 RIGHT
  189 SAME AS 11
  190 SAME AS 7
  191 SAME AS 8
  192 SAME AS 2
  193 SAME AS 5
  194 SAME AS 2
  195 SAME AS 9
  196 LEFT
  197 3
  198 LEFT
  199 SAME AS 1
  200 SAME AS 2
  201 19
  202 RIGHT
  203 SAME AS 1
  204 LEFT
  205 RIGHT
  206 SAME AS 4
  207 SAME AS 5
  208 LEFT
  209 RIGHT
  210 SAME AS 8
  211 SAME AS 5
  212 RIGHT
  213 LEFT
  214 LEFT
  215 SAME AS 8
  216 RIGHT
  217 SAME AS 10
  218 SAME AS 11
  219 SAME AS 10
  220 SAME AS 8
  221