advent-of-code

Perserverance, or the lack thereof

git clone git://git.shimmy1996.com/advent-of-code.git

input.txt (20422B)

    1 9 + 2 * ((7 + 9 + 5 + 7) * 3 + (5 * 3 * 6 * 5 + 6) + (9 * 4 + 9 * 6 + 9)) * 8 + 5
    2 (5 * 2 * 2 + (3 * 8 * 9 * 7) * 3 * 9) * (7 + 3 + (5 + 4 + 8 + 6) + 3 + 2 + 2) * 4 * 8
    3 2 + 6 * (2 * (2 * 6) * 3 + (7 + 2 * 4 + 7)) * 8 + 5 * 4
    4 7 + 5 + (8 * 6 + 8) * 6 + (4 * 3 + 5 * 8 + 7 * 9) + 5
    5 ((4 * 8 + 2 + 9 * 3 * 7) * (3 + 6 + 3 * 2 * 7 + 4) + 2 * (9 * 5) * 4 * 3) + 9 + (3 + 9 * 2 + 9 + (4 * 3) * (4 + 4 + 7 * 5 * 2 * 9)) * 4
    6 (8 + 8 + 3) * 7 + (7 * 7 + 7)
    7 9 + ((8 * 2 * 6 + 2 + 6) * 6 + 3 + 2 * 9) * 3 * ((7 * 4 + 6) * 5 * 6 + 4 * 5 + 5) + 2 + 2
    8 ((3 * 3 * 5 + 7 + 5 + 8) + 7 + 2 * (4 + 9 * 8 + 7 * 2)) + 6 + 3 * 7 + 6 + 9
    9 (6 * 2 * 7) + (6 * 9 * 5 + 2 + (2 * 6 * 3) * 7) * (5 + 9 + 8 + 6 * 6) + 2
   10 2 * 4 * 8 + 9 + ((9 + 5) + 9 * 7) * (7 * 7 * (2 * 5 + 2 + 4 + 6) * 5)
   11 2 * 3 * 8 * (3 * 7 * 8 * 5) + 4
   12 6 + ((8 * 3) * 2 * (7 * 2 + 5 + 2) + (9 * 2) * (2 + 3 * 9) * (5 + 9)) * 2 + 9
   13 3 + 7 * 9 * 3 * (4 * 7 * 8 * 8 + 2)
   14 (5 + 2 * 6 + 4 * 7) * (4 * 5 + 4 * 3 * 9) * (9 * 7) + 3 + 7
   15 (5 + 6 + 8 + 8 * 2) * 2
   16 9 + 2 * 4 + (9 + 2 + 9 + 4)
   17 7 + 6 + (3 + 4 + 9 * 2 + (9 * 3 * 5 * 5 * 3)) * 5 + (8 + 6 * 8 * 4 + 5) * (3 + (6 + 7 + 5 + 4))
   18 6 + 3 + 2 * ((7 + 3 + 8) + 2 + (9 * 6 + 4) * 3) + 3
   19 8 + (3 + (7 + 7 + 5 + 3 + 7) * 9 + (4 + 6 + 4 + 6 + 3) + (9 + 3 + 8 * 6)) + 9 * (3 + 7 + 9 * (6 * 8) + 7) + (8 * 4)
   20 4 + 8 * 2 + (6 + 6 * (7 * 7 + 3 + 6 * 6) + (9 * 4 + 9 * 3 * 6 + 7) + 6) + ((3 * 5 * 6 * 8 + 3) * 3 * (5 + 2 + 5 + 9) + (8 * 5 + 5 + 6 + 6) * 5 + 2)
   21 9 + ((4 * 6 * 8 + 8 * 2 * 3) + 3)
   22 2 * ((6 + 4 + 3) * 8 + 2) * 9 + 6
   23 9 * (5 * 8 + 6) + 3 * 4 * 2 * 8
   24 2 + (2 + 8 * (3 + 6 + 7 * 5) + 2 + 3 + 2)
   25 8 * 8 + (3 + 7 + 2 * 3 * 3) * 6 + 7
   26 (4 * 6 * 4 * 4 * 4) * 6 * (2 * 2 + 7 * (5 + 9 + 2) + (3 * 6 + 6) + 7) + 5 + 7 + 8
   27 5 + (7 + 2 * 9) * (4 * 5 + 8 * 4 + 4) * 9 * 6
   28 5 + 7 * (4 * 7)
   29 4 + (8 * 6)
   30 9 + 3 * 6 + (7 * (4 + 9 + 2) * 5)
   31 5 + 4 * 6 + 2 + 8 + (7 + 5 + (6 * 8 + 2 * 3))
   32 5 + (6 + 9 + (5 * 4 + 5) + 3 * 6 + 6)
   33 6 + 5 + 5 + ((2 + 8 * 8 * 8) + (8 * 8) * (9 + 6 * 6 + 7 * 5) * 8 * 9) * 4 * 3
   34 ((2 + 5 * 9) * 3 * 9 + (9 + 6 + 3) * 9) * 4 * 9 * 7 * 6
   35 5 + (2 + (3 * 4 * 4) * 5 + 4 * 9 * (5 + 7 * 3))
   36 3 + 4 + 6 + 5 + 4
   37 2 * 4 + 6
   38 2 + 2 + (7 * (5 + 3 * 5 * 3 + 8 * 7) * 7 + (8 * 7 * 7)) + (8 * 9 * 5) + 8
   39 3 * 8 + 5 + 4 * (3 + (9 + 4 + 3) + (7 + 6 * 4 + 9 + 9 + 7) + (9 * 4 + 7 + 7 * 9) * (5 * 7 * 3 * 7 + 9 + 2) + 4)
   40 5 + 6 + (8 * 4 * 7) + 5 * ((8 * 8 + 5 + 9 + 2 + 9) + 3 + 5 * 9) + (3 + (6 * 2 * 3 * 7) + 5 + 3 * 8)
   41 6 * 4 + 8 + (6 * 4 * 8 + 4) * 6 + 4
   42 2 * (9 + 9 + (3 + 2 + 6) * 7 + 5 * 4) + 2 + 7 * 7 * 2
   43 6 + 3 * 6 * 7 * (2 + (9 + 7 * 5 + 9 * 3 + 4) + (5 + 8 * 6) + 2 * (6 * 6 + 5 * 6) + 4) + 4
   44 (9 * 8 * 9 + 7 * 8 * 6) + 3
   45 (6 + 8 + 9) + 4 + (6 + (4 + 4 + 2 + 3 + 6 * 3) + (4 * 3 + 7 * 5 * 6) * 9 + 9) * 3
   46 (3 + 6) + (3 + 4) + 3 + 4 * 4 + 2
   47 ((9 + 2 * 2) * 7 + 6) * 5 + 9 * 6 * (3 * 4 + 2 + (2 * 7) * 7 + 2) * ((4 + 3) + 8 + (4 + 2 * 2) + 8 + 8)
   48 2 + ((7 + 8) * 2 + 6 + 3 * 7 + 9)
   49 4 * (2 * (2 + 6 * 7 + 6) + (9 * 7 + 5 * 7 * 2))
   50 (4 * (3 + 9 + 2 * 7 * 7 * 5) + 7 + 7 * (8 * 2 + 7 * 4)) + 9 + 6
   51 ((5 + 3 * 5 * 4) + 7 + 9 * 3 + 4 + 5) + 2
   52 4 * 3 + 2 * 4 * 7 * 3
   53 6 + ((2 + 5 * 6 * 6 * 9) + 7 * 8 + (8 * 4 + 7 * 3)) + 3 * 2
   54 5 * 4 * 9 + 2 * (2 * (8 + 5 + 7 + 3 * 8) + 4 * 3 * 9) * 9
   55 2 * 7 + ((4 * 7 + 6 * 2 + 8 + 9) + (6 + 2 * 8 + 5))
   56 (8 * 2 + 4 + (6 + 5 * 4) * 3 * 6) * 4
   57 ((5 + 7 * 6) + 2 * 6 + 3) + 6 + 2 + 4 * 9
   58 ((3 * 8 + 2) + 5 + (8 + 8 * 3 + 9 + 6 + 3)) * 3
   59 3 + 6 + 6 + (6 + 5 + 8) * (4 * 5 * 2 * 5)
   60 3 + (2 + 2 + 6 * 8 * 8) + (7 * 3 + 3 + 7 * 5 + 7) + (6 * 6 + 4 * 7 + 6)
   61 ((4 + 6 * 7) * (5 * 4 + 4 + 4 + 2 + 8)) * 2 + (9 * (8 + 6 * 9)) + ((6 + 8 * 2) * 8 * 2)
   62 5 + 2 + (4 * 9 * 4 * 2 + 3 * 4) + 8
   63 ((2 * 4) + (6 * 9) * 5) * 5 + 6
   64 ((5 + 3) * (3 + 9 * 7) * 5 * 6 + 3) * 3
   65 3 + 4 * 5 + 6 * 7
   66 (8 + 4 * 6 + 7 * 6) + (2 * 3 * 3 * 2 * 3) * 2 * 3 + 9 * 5
   67 ((6 + 9 + 4 + 9 * 7) + (3 + 4) + 7 + 2 + (3 * 9 + 4 * 5 + 9) * 4) * 4 + 7
   68 8 * 6 * 9 + (9 + 3 + (3 + 5 * 8 + 7 * 9) * 5 * (4 + 6 * 9 + 3) + 6) + 4 + 6
   69 9 * 2 * ((6 * 3 + 6) + 5) + (5 + 8 * 9 + 5 + (8 * 6))
   70 ((9 * 7 * 4 * 7 + 3 + 7) + 4 + 5) * 8 + 6 + 3 * 4 + ((9 * 7 * 8 * 3 * 8) + 3 + 5 * 6 + 2)
   71 9 + (8 + 2 * 9 + 8) * (8 * 5 * 4 + 6 + 2 * (4 + 9 * 4 + 5))
   72 3 + 7 * 5 * 4
   73 (8 * (9 + 5 * 6) * (9 + 6 * 9 + 7 + 5) + 7 + 4 * 6) * 4
   74 (4 * (5 * 5 * 5 * 7) + 3) * (6 * 3) + 3 + 4
   75 3 + ((7 + 2 + 4) + 9 + 4) * (2 * 9 + 4 * 3 * 6) + 8 * 9 + 8
   76 3 * (7 * 9 * 5 + 2 * 5 * (5 + 5)) + 8 * 5
   77 5 * ((2 + 7 + 8 * 9) + (3 + 4 + 6 + 4 + 4 * 4) * 4 + (5 * 8 + 3) * 3 * (9 + 9 + 6 * 5 + 6)) * 5
   78 (5 * 7 + 2 + 8) + 8
   79 (4 + 6 * (2 + 8 + 5 * 6 + 7 + 4) * 3 + (6 + 4 + 7)) + (6 + 5 * 6) * 2 + (3 * 2 + 2 + 5 + 9 * 8)
   80 5 * 2 + ((2 * 2 * 2 + 6) * (2 * 3 * 3 + 6 + 9 + 6) * 8 * 8) * (8 + 5 * 4 + 9) + 2 * 4
   81 4 * (6 + 9) + 8 + 3 + (5 + 2 + 8) + 5
   82 9 * 6 * 6 + 5 * 7
   83 (2 * (6 * 9 * 8 + 3) + 3 * 3) * 3 + 8 * 7
   84 (3 * 7 * (9 * 2 + 4 + 5 * 4) + 2) + 3 + 3 + 7 * 8
   85 8 * (9 * (7 * 9) + 2 + 2 * 9 * 9) + ((5 + 5 + 9 * 2 * 6 + 3) + 9 * 6)
   86 (9 + 8 + 5) + 5 + 9 + 4 * 5
   87 8 + (7 * 6 * 5 + 3 * (8 * 5 + 9)) * 9 + 2 + 3 + 5
   88 (9 * 9 * 2 + (2 + 9 + 3 + 7) + 5) * 4 + 4 * (4 * 9 * 2 * 6) * 7
   89 7 * 9 * (4 + 9 + 7 + 9 + 3 + 5) + 4 * (3 + 6) * 4
   90 5 + ((3 + 6) * 8) * 2
   91 7 + (2 * 3 * 5 + 8) + ((7 * 4 * 9 + 4 * 6 * 2) * 2) * 3 + 2
   92 8 + (3 + 6 + (4 * 7 * 9 + 2 + 2)) * 6 + 4 * 4 + 9
   93 (4 * (3 + 2 * 6 * 3 + 5) * 4 + 9 + 8) + 7 * 7
   94 (8 + 7 * 9) + 7 + (4 * (7 * 2 * 7) * 2) + (6 + 8 * (3 * 7 + 3 + 3 * 2 * 2) + (8 * 4 * 6 + 3))
   95 9 + 3 + ((7 + 4 * 3 + 6 + 4) * 6 * 2 + 7 * 4) * 5
   96 ((3 + 7) + 4) + 3 * 5 + (3 + 7 * 9 + 6 * 3 * 2)
   97 7 + (4 + 4 + 9 * 5)
   98 ((5 + 3 * 7) + 6 + 8 + 2) + 3 * 8 * (3 + 9 * 6 + 4)
   99 3 + 8 + 7 + ((3 * 8 + 7 * 4 * 5) + 3 * 8 * 9 * 4 + 3) * 7
  100 5 * 3 * ((7 + 3 + 7 * 5 + 3 + 4) * (8 + 8 + 3 + 7 * 8 + 6)) * 6 + 4
  101 (4 * (6 + 3 * 7 * 4) + 7 * 8) + 8
  102 6 * (8 + 6 + 5 * 4) + 3 + ((3 * 6 * 4 * 2 * 6) * 8) * 9 + 6
  103 (4 * (9 + 9 + 9 * 7 * 8 + 9) * (3 * 5 + 8 * 4 * 3) + 2 + 9 + 4) + (7 + 5 + (9 + 3 + 8) * (9 * 7 * 5 * 4) * 5) + 2 + 2 * 5 + (2 + 5 + 9 + (2 + 8 * 5 + 5 * 2 * 7) * 2 + (6 + 3 * 8 + 2 * 6))
  104 (4 * (7 * 3) + (6 + 3) * 6 + 6) + (6 * (8 + 2 + 8 * 4 * 7 * 5) + 7 + (5 * 9 * 5 + 9 * 2) * 7 + 8) * 5 + 2 + 6 * 4
  105 6 * 9 + 8 * (7 * 4 + 5) + 6 * (5 * 8 * 4 * 2 + (3 * 6) + 6)
  106 6 * 3 * (4 * 2) * 5
  107 7 + 6 + (4 * 9 * 3 + 2 * 9 + 6) * 4 + 7 * 7
  108 (2 + (2 * 7 + 9 + 4)) * 9 * 8 * (3 + 9 * 6 * 9) * 4 * 9
  109 (8 * 6 + (3 + 8 * 5 + 6 + 9) * 7 + 6 * 7) + 6 + 4 + 8 * 3
  110 (4 * (7 * 9 + 5 + 7 + 2 + 7)) * (6 * (2 * 2) + 9 * 4 + 5) + (3 * 3 + 4 * (2 * 7 + 4) + 3) * 5 * 6 + 9
  111 2 + (7 + 7) + 9 + ((9 * 2 + 2 * 8 * 5) + (2 + 3 * 2 + 8 + 9) * 3 + 7 * 4 + 2) + 3
  112 ((7 + 7 + 6) + 6 + 8 + (4 + 4 + 6 * 5 * 3 * 7)) + 6 * 7 * 9
  113 2 * 9 + 9 * 6 * 2 + (8 * (3 * 3 * 7 * 6) * 4)
  114 4 * (9 * 2 * 8 + 3 * 5) + 7
  115 9 + 3 + 9 + 9 + 2 + (5 + 9 * 3 * 2 + 3)
  116 6 + 7 + (2 + 5 + 2 + 8 * 4 * 8)
  117 (9 + 7 * 3) + 4 * 4
  118 6 * 7 + 9 * (8 + 7 * 4) * 8
  119 (8 * 5) * 6 + 8 + (4 * 5) * 6
  120 2 * 8 * 7 + (8 * (4 * 2 * 2 * 9 + 9) + (5 * 7 * 5 + 7)) * 8 + 5
  121 5 * (5 * 8) + 8 + (9 * 8 * 2) * (5 + 4 * 3) * (4 * 7 * 6 + 2 + 4)
  122 3 + 6 * 8 + (5 * (6 * 3) * 9 + 5 + 4 * 8)
  123 7 * 2
  124 8 * (7 + (7 * 8))
  125 4 * ((8 * 2 + 2) + (9 * 5 * 2 + 3 + 6) * 6 * (3 + 5)) * 6 + 7 * 3 + 7
  126 4 * 6 + 7 * ((3 * 5 * 4) * 7) * (2 + (7 * 3 * 4) * (5 + 3 + 6 * 8 + 7 + 4) * (5 + 7 + 7 + 3 * 3)) * 2
  127 (8 * 8 + 2 * 4 * 7) + 9 * 8 * 6 + (8 * 4 * 2)
  128 (4 * 8 + (6 * 7 + 5 + 7 + 4) + 8 + (9 + 3 * 8 + 8 + 6 + 9) * 3) * (4 * 4 + (6 * 7 + 7 * 9 + 9)) + 8
  129 3 + (9 * 8 * 4 * 9 + 8 * 7) * 9 * 2
  130 6 + 4 * (8 + (6 * 8) * 7 * 5) + 9 + 4
  131 (8 + 9 * (4 + 3 + 6 + 2 + 5 + 8) + 6) + 7 + 9 * 3 * ((7 * 8 * 6 * 5 + 4) + 7 * (9 + 2 + 9 + 8 * 4) + 8 * 4 + (8 * 8 * 2 + 9 * 4)) + 6
  132 (9 * 8 + 4 * (6 + 9 * 3 * 3 + 3 * 4) * 8 + 7) + 5 * (4 * 8 * (2 * 3 + 2) + 3 + 5 + 2) + ((2 * 6) * 8 + 6 * 4 + 8) + 6 + 9
  133 ((9 + 3 + 9 + 7) + 3) + 7 * ((8 + 6 * 7 * 4 * 7) * 8 * 8 + 2 + 6) + 3 * 8 * 4
  134 (5 + 3 * 2) + ((4 + 3 * 5 * 5) + 6 + 7) + 7 * 7 + 8
  135 4 + (9 + 4 + (9 * 7 * 8) + 5 + (5 + 7 * 5 * 8) + 8) + (6 + 5 * 5 + 7 + 9 * 8) * 9 + (4 + 4 * 8) + (5 + 4)
  136 3 * (3 * (6 + 5 * 5 + 4 + 9 + 9) * 8 + (6 * 3 * 2 * 5)) * (6 + 2) * (4 * 6 * 8 * 5 * 5 * 2)
  137 4 + 7 * (6 + 2 * 3) + 9 * (3 * 3 + 8 + 5 * (8 * 7 + 3 * 5) + 8)
  138 5 * (2 + 9 + 9 + 8 + 4 * (7 + 2 + 9 + 2 * 6 + 8)) + 2
  139 5 + (7 * 8 + 8 + 7 + 3) * 2 + 2
  140 3 + 8 * 8 * (9 * (7 + 5 * 5 * 7) * 6) * 2
  141 6 + 8 + (3 + (5 * 8 * 6 + 4 + 3 + 4) + (2 * 7 + 4 * 4) + 5) * (4 + 8 * 6 + (9 * 6 + 7 * 3) * 9 * 3)
  142 4 + 8 * (2 * 9 * 6 + (4 + 9) + 8) * 9 + 6
  143 5 * 3 * (3 + 7 * 7 * 3 * (6 + 5 * 7)) + 8 * 9
  144 (2 + 8 + (6 * 8 + 5 * 5 * 2)) + 5 * (6 * 5 * 6)
  145 4 * 5 + (7 * 4 * 3 + 7 * 7) * 8 + ((9 + 9 + 5 * 3 + 2) + (2 * 7 * 8 + 3) + 7 * 2 + (5 + 8 + 8))
  146 7 * (4 * 2 * (8 * 8 * 7) * 3 * 9 * (2 * 4 * 3 + 2))
  147 6 * 7 + 8 * 8 * (8 + 2 * 5 + 8 * 6 * (4 + 8 + 3 + 3 * 7)) + 6
  148 8 + 2 * 2 + (7 + 8 + 5) * (6 + 9 * (4 * 6) + 3 + 8 * 7)
  149 5 * ((3 + 8 + 4 * 4) * (4 * 5 * 8 * 8 + 8 + 8) + (8 + 7 * 9) + (6 + 5) + 2 * 9) * (7 + 8 * 7 * 4)
  150 (3 + 7) + 9
  151 9 * 5 + 7 * (3 + (6 + 3)) + 5 * 8
  152 2 + 6 * 5 + 6 + ((8 * 8 * 9 * 4 * 9 + 6) * 4 + 4 * 2)
  153 3 * 2 * (6 * 8) * 8 * (2 * 8 * 8 + (4 + 6 * 2 * 4)) * 5
  154 4 * (8 + 7 + 7 * 8 + (7 + 5)) + 6 + 8 + 7
  155 (5 + 4 + (7 * 7) * 2 * 4 + 3) + (8 * (6 + 6 * 9 + 7 * 7 * 3) * 2) * 3 + 5 + 9 + 7
  156 8 + (8 * (5 + 3 * 7 * 6 * 7) * 9 * 9 + 7) * 8 * 4
  157 7 * (6 * 8 * (6 * 3 + 9 + 8 + 8) + 7) + 7 * 7 * 3 + 4
  158 2 + (9 * 4 * (9 + 7 + 6) + 3 * 8 + 7) + 7 * 2 + (4 + (7 + 2 + 9 + 9 + 7 + 2) + (9 * 3 + 4 + 4 + 3 + 8))
  159 (4 + 4 * (4 + 7 + 3 + 3 * 9 + 8) + 3) * 7 * (7 * 6 + 9) + 4 * 4 + 5
  160 8 + 6 * 8 * 5 + (7 * (4 + 9 + 3 * 6 + 8) + (7 * 9 * 2 + 3 * 2 + 8) * 6 + (4 + 7 + 4))
  161 (3 * (4 * 7 * 3 * 8) * (6 + 7 + 6 * 7 + 7 * 2) * 8 + 5 * 7) + (9 + 8 + 7 + 5 + 6 * 7) * 5 * 4 * 5
  162 3 + 3 * 2 + ((2 * 3 + 2 + 6 * 6) * 6) * 8 * (3 + 7 * 8 + 6 + 3 + 8)
  163 (5 * 4) * ((3 * 2 + 9 * 4 + 5 + 7) + (7 * 3 * 7 + 9 * 7 * 5) * 7 + 4 + 6)
  164 3 + 2 + 5 * 7 * 9 + 2
  165 (4 + 6 * 3 + 3 * (6 * 3 + 5) * (6 * 3 + 5)) + 2
  166 5 + 8 + 6 * 3 + 3 * 2
  167 (8 + 7 * 4) + 7 + 3 + 4
  168 (3 + 3 * 9 + 7 * 7 + 3) + 6 + 5 * (2 + (4 * 2 * 2 + 9 + 6) * 2) * 6 + (7 + 2 + 7)
  169 9 * 2 * (3 + (8 + 7 * 5 + 3)) + ((9 + 3 + 6 + 7) * 9 * 8 + 5 * 6) + 5
  170 (6 * 4) * 7 + 4 + 3 + 5 * 4
  171 8 * 2 + (6 * 4 + 3 + 6)
  172 (4 + 5 * 2 + 9 * 9 * 6) * 8 * 7 * ((4 * 3 * 3) + 5 * 6 * 2) + 9
  173 (8 * 5 * (5 * 7 * 5 + 4 + 5) * 2 + 9 * 6) + 4 + 6
  174 2 * 5 + ((2 + 8) + 3) * 5 + 7
  175 5 + ((8 + 2 * 6) + (2 * 5 + 6 + 4 * 8 * 7) + 3 + 7 + 8)
  176 6 * 2 * (6 + 8 * (3 + 7 * 5) * 2 * 7) + 8
  177 2 + 2 + ((8 + 2) * 8 * 8)
  178 3 + 7 + ((8 * 2 + 3) * 9 + 2 * 4) + (9 * 9 * (3 + 7 + 3 + 5 + 4) + (8 * 5 + 4) + 9 + 7)
  179 3 * 5 + ((4 * 8 + 8 + 7) + 8 * (3 * 3 * 7 + 9 * 6 + 3) + (9 + 2 + 3 * 9 * 8)) * ((7 * 8) + 9 + 2 + 9 * 2)
  180 (7 + 9 + (2 + 8 + 7 * 7 + 4) + 9 + 6 + 7) + 6
  181 2 + ((2 * 9 * 7 + 4) + 3) + 3 * (8 * (9 * 4 + 7 * 3 + 3) + 8 + 5 + 7) * (9 + 9 * 5 + (8 + 9) + 2 + 5)
  182 8 + (3 + 5 + 9 * 7) + (7 * (9 + 8) + 8 + (9 * 7 + 8 + 6 + 8)) * 2
  183 (3 * (6 + 6 * 6 + 2) * 9 + 5 + 6) + 8
  184 6 * 5 + ((9 + 5 + 5) + (6 * 5 * 7 * 7) + 7 * (9 * 7 * 4 + 6)) + 7
  185 2 + 7 * 7 + 2 * ((5 * 8 + 9 + 9 + 8) * 9)
  186 ((2 * 8 * 4 + 2) + 3) * 4 + 9 + 3 + (7 * 7 * 4 + 2 * 2) * 3
  187 6 * 8 + ((3 + 6 + 4 * 3) + 6) * 3 + 9
  188 (5 + 2 * 3 * 4) * 3 + 7 + 7
  189 ((7 + 4 * 7 + 7 * 9 * 8) * 3 + 9) * (7 * 2 + 9 * 9 * 8) + 5 + 8 + 6
  190 6 + (2 + (9 * 6) * 4 + 5 + 5) + (5 * 2 + 6 * (2 + 2) + 6 + 9) + 5
  191 6 * 3 * (6 + 5 + 4 * 8 + (9 + 2 * 4 * 5 + 4 + 7)) + 5
  192 9 + (2 + 3) * (6 + 5 * 5 * 2 * (3 * 6)) + 6 + 8 + (4 + 8 * 9)
  193 ((7 * 5 * 5 + 9 + 3) * (7 + 7) + (2 + 6 + 6 * 3 + 7) + 5) + 6
  194 8 + 2 * 9 + 3 + 4
  195 (7 * 8 * 4 * 9 + (9 * 9)) * 4 + (4 + (7 * 3 + 6) + 2 + 4 + 9 * 5) + 9
  196 (4 + 5) * 8 * (5 * 5) * 4 * 8
  197 (4 + (5 + 4)) * 7 * 4 + 9
  198 3 + 8 * (3 * (5 * 2 + 6) * 9 + (4 * 2 + 6 + 7) + (9 + 9 * 8)) + 5 + ((2 + 7 + 8 + 8) * (7 + 8 + 3 * 9)) * 9
  199 8 * 9 + ((8 * 7 + 4 * 5 + 8 + 4) + (3 + 8 * 4) + 8 * 3 + 3)
  200 6 + (6 + (2 * 5 + 2 * 8)) * 6 + 8 + 4
  201 ((9 * 5 * 5 + 8) * 9 * 2 * 6 + 3) + 6 + 6 * 6 * ((5 + 3 * 2 + 4) + 8 + 8 + 6 * 4)
  202 ((5 * 3) + 6 + 5 * 5) * (6 * 8) + 3
  203 ((9 * 5 + 6 + 2 * 5 + 3) * 6 * 6 * 7 * 2 * 2) + 6 * 8
  204 2 + 9 + 3 + 5
  205 5 + 4 + 3 + 4
  206 6 + (5 * 2 + 8 * 4 + 9)
  207 (7 * 5 * 3 * 9 * 9) + 6 + 5
  208 8 * 8 + (8 + 9 + 5 * 4) + 3 + (5 + 2 + 6 + 6) + 9
  209 9 + ((7 * 2 + 7 * 4 + 9) * 8 + 5 + 6 * 3 * (8 + 4)) * 2
  210 5 * 8 * ((9 * 5) * 4 * 7 + 2 + (4 + 4 * 3 * 5) * 7) * 4 * 8
  211 4 * 9 * (3 + 4 + 9 * 7) + 2 + (5 + 6) + ((6 * 2 * 8) + 9 + 5 + 2)
  212 6 + 7 + (4 * (5 * 7 + 9) * 2 + (5 * 3 * 7))
  213 (9 * (9 * 3) + 9 + (3 + 2) * 6 + (4 + 4 + 9 + 4)) + 7 + 8 * (6 + 8 + (6 * 9 * 2 * 8)) * (8 + 6) + (8 * 6 + 2 * 7)
  214 5 * ((4 + 2) * 2 * (2 + 9 + 2 * 4 * 3 * 4) * 4 + 8 + 3)
  215 8 + 6 * (7 * 6 + 9 + 3 + 6)
  216 (5 * (8 * 7 + 4) + 3) + 2 * 5 * 4
  217 9 + (2 * 3) + 3
  218 4 + 5 + 6 + 8 + 4 * 9
  219 (3 * 3 + 4 * 4) * (4 + 7 + 6 * 6)
  220 3 + 9 + (5 * 8 + 7 * (3 * 5 * 8 * 9 + 7 + 6) + 8)
  221 7 + (8 + 5 * 9 + 6 * 3 + (9 + 3 * 7 * 5 + 3 * 2)) * 7 + 5
  222 4 * 6 + 3 * (5 + (6 + 4 + 9) * 6) + 2
  223 2 * 3 + 8 + 9 * 6 + (2 + 3 + 5)
  224 8 + ((3 * 4 * 7 * 2) + 4 + 5 + 2) * 9
  225 7 * 4 + 2 * 4 + 9 + (3 * 7 + 2 * 6 * (8 + 9 * 9) * 5)
  226 4 * 3 * (7 * (8 * 5 * 8 + 3 + 9) * 3 * (4 * 8) + 4 + (9 * 3 + 9 + 6 * 4 + 9))
  227 7 * 6 * 7 * (3 + 4 * 3) * (5 + 5 + 2) * 7
  228 2 + 6 * ((4 * 3 + 6) * 5 * 8 + 4 * 2 + 9) + 6
  229 6 + 4 + (5 * 5 + 7) * 8
  230 (5 * 3 * 8) * (6 * 6)
  231 5 * (6 * 5) + 9 + 7 + (6 + 6)
  232 ((3 + 6 * 6 * 5 + 3) + (6 * 3 + 8 + 8 + 7) * 2 * (3 * 5 + 3)) + 3 * ((6 * 6) + 2 + 4) + 3 + 5 * 5
  233 9 * (2 * 6 * 4 + 7 + 5 + (8 + 4 + 7 * 2)) + 5 + (3 * (4 * 5 * 6 + 6 + 4 * 4) * 5 + 8)
  234 8 + 3
  235 3 + (2 + 4 * (7 * 4 + 9 * 9) + 2 + 3) + 6
  236 ((5 + 9 * 6 + 3) + 2) + 5 * 2
  237 3 + 8 * 2 * 4 + (2 + 3 + (3 + 9 * 6)) + 5
  238 6 + 5 * ((9 * 9) * 9 + 4 + (8 + 3) * 8 * 5) + (8 * 8 + 2 + (5 * 6 * 5 * 3 + 9 + 7) + 5) * 5 * 5
  239 (6 * (5 * 3 + 9) * 3 * (7 + 4 + 8 + 3 + 8 + 6) * 5) + 3 + 7 * 2 * 9
  240 6 + 3 + (2 * 2 + 9 + (4 * 4 * 2 + 3 * 4 * 9)) + 9 + 8 * (7 * 2)
  241 ((2 + 7 * 8) * 8 + 7 + 3 + 8) * 4 * 9
  242 9 + 9 * 5 + 7 + ((9 * 9 * 4 + 4 + 3 * 7) * 5 * 5)
  243 (6 * 7 + 3 + 4 + (7 + 9 + 3 + 2)) + 3 + 6 * 9 + 8 * 7
  244 ((2 + 5) + (8 + 8 * 8 * 2 * 4 * 9) + 3 + 5) + 3 + 8
  245 4 * 4
  246 6 * 8 + (9 + 2 + 4 + 3 + 2 + (8 * 2 + 3 + 2 + 9)) + 8 + 3
  247 7 + 2 + (2 * (7 + 2 + 9 * 3 * 5 * 8)) + 4 + 5 * 4
  248 4 * 6 * 8
  249 5 * 4 + 4 + 2
  250 6 + 3 * (8 * 4 + (5 * 6 + 2))
  251 2 * (2 + (2 * 9) + 7 + 9) + 6 * 7
  252 6 * 3 * ((2 * 5) * 3 * 5 * 2) + ((2 * 8 * 7 + 9) * 3 + 5 + 2)
  253 (2 + 3 + 9 + 9 * 7) + (8 * 8 + 2 * 7 * 3) + 3 + ((5 * 5 + 4) * 2 * (3 + 8 * 6 + 2)) + 5
  254 6 + ((3 + 8 * 3 * 9 * 7 + 3) + 2 * 3) * 4 * 9 + (3 + 2 * 7)
  255 ((2 * 4 * 4) * (2 + 5 * 4) * (9 * 7 + 3 + 9)) + 7 + 7 + 8 * 4 * (5 * (4 * 9) + 4 * (7 + 9 * 9 * 2 * 9) + 3)
  256 2 + 2 + ((2 + 5 + 7) * 8 + 3) + 5
  257 3 + ((6 + 4 + 9 + 9 + 5 + 6) + (6 + 7 + 3 * 2 * 8 + 3) + 9 + (3 * 2 * 9) + 9 * 3) + 9 * ((6 * 7 * 9 + 9) + 3 * 3 + 7)
  258 4 * 9 * 4 * 7 * (4 + 4) + 3
  259 2 * (7 * 5) * 2 + ((8 + 2 + 6 * 4 + 6 * 4) * 4)
  260 6 * (2 * 8 * 4 + 6) * 7
  261 2 * 3 + 7
  262 (7 + 8 * (8 * 6 * 4) * 5) + (9 + 9 * 3) * 2 * 9
  263 4 + 3 * (5 + 5 * 9) * 9 * 2 + 8
  264 8 * (2 + (5 * 8 * 3 * 8 + 7) + 3 + 7)
  265 (2 + 2 * 2) * 2
  266 (4 + 2 * (8 + 4)) + 2 * 8 * (6 + 7 * 9 * (3 * 2 + 3) + 7 * 9) * 3
  267 (9 + (5 + 2) + 7 + 6) * (9 * 4 * (4 + 7 * 7 + 6 + 5) * 7) + 7 * 7
  268 2 * (3 * 7 * 7 + 7) * (6 + 2 * 6) + (9 * (4 + 2 + 9 * 8) * 9 + 7 + 7)
  269 (6 + 7 + 8 * (6 * 9 + 2) + 5 * 3) * 4 * (6 * 8 * 5 + 7 * 3) + (8 + 2 + 8 + 2 + 8) * 5 * (6 + 9 + 7 * 8)
  270 2 * 8 * (6 * (4 + 5 * 2) + (3 * 4 * 2 * 3 + 7) * 7 * 5)
  271 3 + (9 + 3 * 7 + (8 + 4 + 2) + 3) * 4
  272 9 * (8 * (3 * 7 + 2) + (8 * 3 + 7 + 3 * 4 * 2) + 2 * 2 + 8) * 4 + 2
  273 7 * 3 * 6 + (7 + 5)
  274 (8 * 7 * (3 * 2 * 9 * 8)) + ((4 * 3 + 7 + 8) + (6 * 8) + 3 + (5 * 9 + 8 + 7 + 5) * 8 + 5) * 9 + 5 + (4 + (9 * 9) + 5 * 3 * (4 * 2)) * 8
  275 ((3 + 8) + 6 * 5 * 6 * 5 * (4 + 8 * 9 * 5 * 9 + 9)) * 9 * 3 + (6 * 3)
  276 (6 + 5 * 2 + 5 + 9) + 4 * (9 * 6 * 5) + 6 * 9
  277 ((7 + 5) * 2) + 7 * (4 + 4) * 9
  278 (5 + (5 + 2 * 5 * 6)) * 2 + 4
  279 8 + (3 * 4 * 9 + (6 + 3 * 5 * 2) * 9 * 9)
  280 3 * 5 + 2 + 2 * 9 + (4 + 6 * 9 * 3)
  281 4 * 6 * ((5 * 7 * 8) + 6) * 9
  282 3 * 8 + (8 + 6 + (9 * 4 + 5 + 4)) * 9 + 9 * 7
  283 (6 * 2 + 3 * 8 * 4 * 2) * (3 * 2 + 8 + (8 * 9 + 9 * 2 * 2) * 8) * 2 * 3
  284 8 * 4 + 4 + 2 + (4 * (6 + 2 + 8 + 6 * 6) * (5 + 6 + 9 + 2 * 2) * (3 + 7 + 8 + 6 * 8) * 5 * 7) + 3
  285 (2 * 5) + ((7 + 6) + 9 * 7 * (7 + 5 * 6 + 3 + 9)) * 4
  286 2 * ((4 + 2 + 6 * 5 * 9) + 4)
  287 (5 * 9 * 2 + 5 + (4 + 9 * 4 + 8) + 2) + 8 * 3
  288 4 * ((6 + 7 * 3 * 9 * 8) + 5 * 2) * 2 + (6 + (9 + 5 + 3 + 7 * 5) * 2 * 2 + (9 * 8 + 7 + 7 * 6)) * (4 * 7)
  289 2 + 9 * 6 + 6 + (4 * 5 + 3 * (2 * 2 * 4 * 5 + 7 + 6) + 7 * 5)
  290 7 + ((9 * 4 + 7 + 9) + (4 + 6 * 7 + 4)) * 5 + ((9 + 8 * 5 * 9 * 9) * 9 + (3 * 2 * 6) * 2 * 6 + (3 + 7))
  291 (9 * 5 * 9) + (3 * 9 + 2) * (2 * 6 * 7 * (6 + 3) * 6 + 4) + 3 + 8
  292 (8 * (8 * 3 * 2)) * (4 + 5) * 7 * 3
  293 7 + 7 + ((2 * 2) * 7 + 4 + 7 * 9)
  294 (6 + 5 + 9) * 6 + 2 * 9 * 9 + 3
  295 4 + 2 + (3 * (4 + 7 * 6 * 7 + 3 + 3) + 7) * (2 + 2 + 7 * (6 + 2 + 8 + 3 * 8 * 4) + (8 + 2)) + (7 * 8)
  296 (4 + 7 + (3 * 2 + 9 + 5)) + 9 + 6 * 7 * 2 + (5 + 5 * 3 + 7 + 9 + 9)
  297 6 * 9 * 7 * (3 + 5 + 2 * 4 + 6 + 6)
  298 (5 * 3 * (6 + 8 + 9 * 6)) * 8
  299 (6 * 5) + (7 + 4) * (4 + 9 + 4 + (2 * 3) * 7)
  300 4 + 6 * 5 * (2 * 2 * 2 + 3 + 6 * 4) + 7 * 9
  301 9 * 5 * (8 * 9 * 6 + 5 * (3 * 5 + 9 + 9 + 6) + 5)
  302 3 * (9 + 7 * 2) * 6
  303 5 + 9 + 6
  304 6 + (7 * 5 * 9 + 3 + (6 * 3 + 8 + 4 * 9)) + 3 * 5 + 3
  305 7 + 5 * ((2 * 4 * 4) + 3 + 4)
  306 (7 * 8 + 2 + 8 * 4) + (7 + 3) + 7 + 7 * 6 + 3
  307 (8 + 6 + 5 + 5 * (5 + 3 * 3)) * (8 * (5 + 9) * 4) + 5 + 7 + ((8 + 8) * 3 * 9 * 9 * 6 + 2)
  308 (8 * 2 * 5 + (8 * 8 * 2)) * 4 * 2 + 3 * 2
  309 5 + 4 * 2 * 9 + (6 * 3)
  310 2 + 9 * ((5 + 3) * 3 * 9 + (6 + 4) * 6) + 9 * 7 * 4
  311 6 + 5 + 6 * 9 + (2 + 3 + 9) + ((4 + 7) * 6 * (7 + 2 * 3) * 2 * (7 * 2 + 3 + 7 * 9))
  312 2 + 7 * (6 * (9 * 6 + 2 * 3 * 7 + 5) + 9 * 2 * 5) * (4 * 5) * 5
  313 (8 + 7 * 3) + 6 + 7 * 6 + (5 + 2 * 5 * 2 * 6 + 7) * (7 * (4 + 8 + 7 + 6 + 2 * 2) * 8)
  314 (8 * 2) * 3 * 4
  315 2 * 7 + (8 + 7 + 8)
  316 ((5 * 8) * 3 + 8 + 7) * 3 * 5
  317 ((3 * 4 * 6 * 8 + 6) * 6 + (4 * 9 * 9 * 7 * 6) * 6 + 8) * 7 + 9 * 2
  318 (3 * 9 * 2 + 6 * 7 * (3 + 7 + 9 + 4 * 3)) * 2 * 8 * 9 * (2 + 3 * 7 * 9)
  319 (6 * 8 + 6 + 2) * 7 + 8
  320 7 * (9 * 2 + (2 + 6 * 2 * 5 * 8)) * 3 + 8
  321 7 * 2 * 6 + 6 * 2 * 8
  322 5 + 8 + (4 + 9 + 8 + (9 + 8 + 6 + 4) * 3 * 6)
  323 (3 + (7 + 9 + 4 + 5 * 6 * 7) + (6 + 4 + 3 * 7 * 2)) * 2 + 3
  324 6 + 7 + (6 * 6 + (4 * 5 * 5 + 3 + 6 + 4) + 3 + 9)
  325 5 * 2 + 6 * 6 * (2 * 8 * 8 * 2 * 2 + 2)
  326 5 + 7 * 8 + (7 * 4) * 4
  327 9 * 8 + 9 + (4 * 6 + (8 + 2 + 4 * 7 + 3) * 4 * (2 * 8 * 5 * 3))
  328 5 * 6 + 6 * 7 + (5 * 8 * 2 * 2)
  329 3 + 8 * 6 + 7 * 7 + ((6 * 5) + 6 + (7 * 9) + 3 + (3 * 2 + 5))
  330 8 + (9 + (6 + 5 * 6))
  331 3 + (9 * 7 + 6 * 6 * 9 * 2) + 7 * 7 + 8
  332 6 + 3 + 4 * 2 + 9 * (9 * 6 * 6 + 7 + 7 + (4 + 7 + 8 * 4 + 6))
  333 6 + (6 * 4 * 5 + 3 * 9 * (6 + 8 * 6 + 4 * 7 * 3))
  334 9 * (3 + 9 * 7)
  335 7 + 3 + 3 + 9
  336 7 * 3 * ((6 + 8) + 5 * 4 + 8 * 9 * (9 * 3)) + 9
  337 7 + 3 * (2 + 2 + (5 * 7 + 9 * 4 + 4) * 5) + 4 * 2 * 2
  338 (4 + 2 * (4 * 8)) + ((5 + 9 * 8 + 8 + 8 + 4) * 8 + 9) * 5
  339 2 * (4 + 9 + 8) + 8 * 3 * 8
  340 ((5 + 5) * 5 * 7 + 9 * 3 * 9) + 9 * 6 + 9
  341 (7 * 4 * 6 * 9 + 4) * (9 * 2 * (7 * 4 * 7) * (7 + 8 * 6 * 8 * 3 * 7)) + 3 + 3 + 2
  342 (5 * 7 + 6 * 4 * 7 + (9 + 2 * 2)) * 7 * 3
  343 3 * 3 + ((2 * 9 + 5 * 3) + 8 + 5 + 9) + 2 + 8 + (9 + 9 * 4)
  344 ((7 + 3) * 9 * 3 + 9 + 4 + 9) * ((5 + 4 + 2 + 2 + 2) + 6 * 3 * 8)
  345 8 + 9 * 5 + (9 + 2 + (3 * 6) * 2 * 4 + 3) * 5 + 8
  346 (9 * (5 * 3) + 8) + (2 + (9 * 6 + 8 * 6 + 8) * 5 + 6 + 5 * 7) + 7 + 2 + 8
  347 8 * 8 + 6 + (4 + (7 + 6 * 8 + 7 + 8 * 7) + (9 * 3 * 5 * 4 + 3) * 7 * 9 + 8) + 7
  348 2 * 8 * 4 * 5 + (8 * 4 * 6)
  349 5 * (3 * 4) + 8 * 5
  350 9 * (6 + 4 + 9 + (6 * 3 + 4 * 4 * 9 + 9)) * 9
  351 4 + 3 + (3 + 6) + ((5 * 6 * 6 * 9) * (6 + 2) + 6)
  352 5 + 3 + 3 + (7 * 3 * 5 + 5 * 3) + 9
  353 (2 + 6 + 8 + 3) * (9 + 7) * 6
  354 (6 + 7) * 9 * 8 + 3 + (3 * 7) * (3 * 4 * 6 + (6 * 6) * (8 * 6 + 7 * 8))
  355 9 + (7 + 5 + 3 * 5) + 7 + 6
  356 (7 * 3 + 9 * 2 + 5 * 8) * 9 + 3 * 9 * 9
  357 5 * 6 * 2
  358 5 * 2 + 7 * (8 * 3 + 4 * (7 * 9 + 2)) * (4 + 2 * (8 * 5 * 5 * 9 * 3) * 5 * 4 + 6)
  359 4 * ((3 + 3) * (5 * 7 * 2 * 4) + (9 * 5 + 9 + 3 + 5 * 6) * 6 + 7) + 3
  360 6 + 7
  361 3 + 4 * ((5 + 7 + 4 + 2 * 6 + 2) + 6 * 7)
  362 (4 + 6 * 2 + 8 + 5 * 5) + 9 * 5 + 2
  363 2 * 8 * (7 + 6 + (9 + 2 * 8 + 7)) * ((3 * 5 + 6 + 4 + 5 * 3) + 6 * 8 + 9 + (8 + 9 * 6 * 4) + (5 + 4 + 3 * 2 + 9)) + 6
  364 3 + 7 + 3 + ((7 * 9) * 9) * 3
  365 6 * 4 * 3 * 7 + (4 * 2 * 2 + (6 + 9 * 6))
  366 ((8 + 6 + 2 + 3 + 7 + 2) * (7 * 2) + 6) * 8 * 4
  367 6 + 7 * 4 * 4 * (8 + 5 + 8 + 9 * 9) * 7
  368 (5 + 9) * (4 * 8 * (4 + 9 * 4) * 4 + 3) + 6 * 5 + 9 * 3
  369 3 * 4
  370 (3 * 2 * (6 * 5 * 5) * 3) + 6 * 4 + (8 + 9 + (6 * 4)) + (3 * 9 * 5 * (6 * 3 + 2) * (3 * 2)) * 7
  371 5 + ((2 + 2 * 9 * 9 * 5 * 8) + 7 + 9) * 4
  372 (7 + 2) + 4 * 4 + (7 * 4) * (5 + 9 * 2)
  373 (4 + (2 * 8 + 2 * 6) * 3 + 2) * 9 * 3 * ((2 * 6) + 6 * 3 + 7 * (9 * 8 + 7 + 4)) + 2
  374 9 + (4 + 8) * (7 * 3 + 4) + 7
  375 9 + 5 * 9 * ((2 + 3 + 3 + 6 + 5) + 8) + 2 + (3 + (9 * 9) + 2 * (5 + 8 + 8 + 7) * (8 + 7 + 5 + 5 * 7 * 7) * (9 + 5 * 8 * 5 * 8 + 2))
  376 ((6 * 9 * 5 * 3) + 5 + 3) * 9
  377 (8 * 6 + 7 + 2 + (4 * 7 + 7 + 8 + 8) + 8) + 4 + 3
  378 4 + (9 * 4 + (2 + 4 * 3) + 9 * 9 + 5) + 5 * 2 * 4
  379 6 + 2 + 4 + (8 * 8 * (7 * 2 + 7 * 2 * 9 + 6) + 9)
  380 8 * 8 * 6 * 5 * 5
  381 4 * 3 + (5 + 2 + 6 * (7 * 8 * 7 + 5) * 5 * 8) * (9 * (6 * 6 + 3 * 5) + 9 + 6) + 6 + (2 + (2 + 5) + 3)
  382 3 + (6 * 9 * (4 * 4) * (7 + 2 + 9 * 3 + 5 + 8)) + (3 * (6 + 7 * 4 + 9 * 8) + 3 * 5 + 9 * (5 + 9))
  383 (3 + (3 + 3 * 6) * 4) * 5