aoc-2020-zig

Advent of Code 2020 Solutions in Zig
git clone https://git.sinitax.com/sinitax/aoc-2020-zig
Log | Files | Refs | README | sfeed.txt

input (19490B)


      13 + 8
      27 * (7 * 6 + 7 * 5 + (9 + 2 * 2 * 4)) + 7 * 3 * 5
      33 * 4 + 2 + 7 + (4 * (9 + 9 + 2 + 3 * 8) + 9 + (6 + 4) + 7) + 3
      4(7 * 9 + 2 + (5 + 4)) + 5 + 9
      54 + 5 * 5 + 8 + (3 * (7 * 7 + 5) * 7) * 5
      62 + 8 * (5 + 4 * (8 * 3 * 6 * 7 * 8 * 8) + 8 * (7 + 9 + 8 * 9 * 4) * (3 + 9 * 5 + 2 + 5 * 4)) * 4
      7(8 * (3 + 3 * 9) * 3 * 9 * 9) + 3
      8(8 * 2 * 4 + 5) * 2 + 2 + (3 + 4 * 2 * 3 + (4 + 7 + 8 * 7 * 5) * (9 + 9 * 8))
      9(7 + 2 + (2 * 3)) * ((8 + 3 * 4 + 3 + 9 + 4) + 5) + 8 * 7 + 5 * 5
     107 + (3 + 6 + 8) + (5 * 9 + 7 + 2 + (2 * 9 + 8) + 2) * 9
     118 + 4 * 4 * 6 + 9 + ((5 + 8) + 7)
     12(6 + (8 + 6 * 8 + 7 + 3 * 3) + 5 + 7 * 6 + 8) * 2 * 2 * 5 * 2 * 4
     13(4 + (7 * 4 + 7 * 3 * 9 + 2) * 6 * 2 + 6) * (8 + 5 * 6 * (3 + 3 * 8 + 3) * 9) + 9
     147 + 9 * ((5 + 8 * 5 * 6) * 2 * 5) + 9 + 9 * (6 * 8 * 4 + 3)
     154 + (8 * 7 * 7 + 9) + (7 * 9 + 4) + 5 * 3 + 6
     167 + (3 + 6) * (5 * (5 * 7 + 5 * 6 + 3 + 3) + (3 * 4) * 8) * 2 * 4
     172 + (6 * 7 * 8 * 6 + (7 + 4 * 3 + 3 * 2 * 9) + 8) * (3 * 4 * (2 * 9 + 9) * 3) + (8 + (4 + 9 * 5 * 2 + 2) + 3 + (9 * 6) + 5 + 9) * 7 + ((2 * 3) + 3 * 8 * 8 * 6 + 5)
     189 * 4 + ((5 * 2 + 5 * 5 * 6) * 5 + 9 + 8 * 9)
     193 + ((6 * 3 * 9 * 4 + 2) + 6 * 8)
     20(3 + 4 + 7 + 3) * (6 + 8 * 7 + 8 + (6 + 6 + 8 * 7)) * 5 * 3
     212 + 8 + (9 + 4)
     22((5 * 9 * 5) + 7 * 5) + 3 * 8
     23((7 + 9 + 5 + 4) * 9) + ((2 * 2 + 5 * 2 * 7) * (6 + 6 * 7 * 2 + 3) * 8 + 5 + 2 * 6) + 7
     242 + (9 * 9 + 5 + 6) * 2 * 9 + 3
     25(5 * 4 * (7 * 9) + 7) * 8 * 5 * 4 + 6
     265 + (7 * 4 * 2) * (8 + 7 + 2 * 2 * 7 * 2)
     278 * ((5 + 7 + 2 + 9 * 8 * 2) + 9 * 6 * 9 + 7) + 8 * (3 + 5)
     283 * 3 * 2 + 9 + (8 * 2 * 5 * 2) * 6
     293 + 5 + 5 + 4
     302 * 7 + (7 + 2 + 4 * 7 + (9 * 5 + 7 * 6 + 9 + 9) + 2) * 9 + 6 * 6
     31(2 * 6 + 8) * 3
     324 + (7 + (7 * 7) * 3 + (4 * 5 + 4 + 6 + 3) + 5 * 8)
     33((8 * 9) + 3 * 8 * 7) + ((2 * 4 + 8 * 2 + 8 + 5) + 9 + 4) + 4 + 9 * (7 + 9 * (5 + 7) + 7 * 5 * 8) + 8
     34((2 + 6 + 9) + 5 * 4) * 6
     359 * 5 * (2 * 6) + 6 + (9 * 2 * 8)
     363 * 3 * (3 * 9) + 7
     379 * ((2 + 7 * 7) * 3 + 8 * 3 + (6 * 2 + 5 + 3 * 3 * 9)) + 3 * 5
     38(6 + 6 * 6 * 6 * 3 * 3) * 7 * 4 * 9 * 7
     392 * ((5 * 4 * 7 + 3) + 6 * (5 * 5 * 2 + 8 * 9 + 5) + 7) + (7 * 8 + 7 + 7 * 9 * 6) * 7 * 8
     40(5 * 8 * 9 * (6 + 7) + (5 * 3 * 3 * 6 + 4 + 6)) + 2 * 7 + 9 * 8
     412 + (7 + 4 + 8) + (7 + 6 + (2 + 9) * 3)
     42((3 * 2 + 8 + 2) + 7 * 8 + 6) + 9 * 7
     436 + (9 + 2) * 8 + ((2 + 6) * 7 * 2) * (9 * 6) * 3
     443 * ((5 + 5 * 3 + 8 + 5 * 2) + (5 * 8 * 4 * 5 + 4 + 8) + 6 + 8 + 5)
     45((4 + 6 + 8 + 8) * 4 * 9 + (6 * 2 + 4 * 5 + 5) + (9 + 4 + 7 + 4 + 5) + 8) * 7 * 5
     468 + 9 + (5 * 3 * 9 + 5 * (4 * 7 * 6 + 5 + 9)) * 5 * (9 + 8 + 7 + 4) * 6
     474 * 6 + 9 * (9 + 5 + 7 * 4) + 7
     48(5 * 6) + (2 + 9 + (6 * 2 * 5) + (2 + 8 + 2) + 9) + 7 * 6 + 5
     495 * 4 * 7 * (5 * 7 + 2) + 5 + 9
     503 * (7 + 2 + 8 + 7 + 5 + 3)
     512 * (2 * 5 + 7 + 6 * (8 * 8 * 5 * 4 * 8 + 8)) + 3
     52(7 * 9 * 7) * 2 * 9 + (7 + 3 * 6 + 3 * 3) * 8 + 9
     535 + 8 * 9 * 7 + (4 + 9 * 5 + 2 * 3) + 4
     547 + 3 * (3 + 8 + 5 * 6) * (8 + 6 + 8) * (5 + 2 + 8 + 5 + (4 * 6 * 7 * 5 + 4))
     55((6 * 6 * 7 * 2 + 7) + (3 * 7 + 9 + 7 + 5 + 5) + 2 * 8 * 3 + (3 * 9 + 7 + 7 * 7)) * ((6 + 8) * 3 + 2 * 4) + 3 + (6 * 4 + 7 + 2 * 9 * 2)
     56(9 * 7 * 6 + 2) + 9 * 6 + 4 + (5 + 3 * 8)
     57(4 + 2 + 3 + 9) + 6 * 4 + 2 + 9
     589 + ((5 * 8 * 8 * 2 * 5) + 8 + 7 * 4) + ((6 + 8 + 4 + 5 * 3 * 5) + 5 + 4 * 6 * 3)
     599 + (6 + 3) + 3 * ((2 + 3) + 8 + 4 + 8 + (2 + 9)) * 4 * 2
     607 + 8 + (2 + 9 * 9 + 3 * 9) + 6
     61(8 + (8 * 6 + 9 * 4 + 2) + 4 + 9) + 7
     626 + (2 + (4 * 3 * 5 + 5) + 4) + 6 * 6
     637 * (3 * 9 * 3) * (7 + (6 + 8 + 4))
     648 * ((4 * 3 + 8 * 6) + 7 + 6 * 3) + (4 + 5 * (8 * 2 * 6 * 9) + 7)
     655 * ((8 * 4 + 2 * 9 * 8 + 2) * (3 + 5 + 6 * 9 + 5) * (5 + 9 * 9 + 2 * 8) * 2)
     66(3 * 4 * 5 * 3) * ((8 + 6) + 2 * (6 * 9 + 9 * 9 + 2 * 7) + 6 * 2) * 5 + 4 + 8 + 2
     678 * (5 + 2 * 2) * 2
     68(3 * 8) + 9 * (6 * 2 + (6 + 3 * 6 + 7 + 8 + 4) + 3 * 9)
     693 + 6 * (3 + 6 * 8 * 4 * 5 + 2) + (3 + 9 + 2 * 7 * (4 * 3 + 3 + 8) * (8 + 3))
     704 * (4 + 3 + 7 + 9 * 6) * 2 + 4 + 8 + (2 + 2)
     71((5 + 7 * 2 * 9) + (2 + 3 * 6 + 2 * 5 * 8) * 8 * (8 + 8 * 6) + 5 * (7 * 9)) + 7 * 9 * (6 + 8)
     725 * 2 * 4 * ((3 * 4) * 6 + 3 + 5 * 5 * 9) + 7 + 8
     736 + 8 + (9 * 2 * 9 * 9 * 4 + 3) + 9 + (4 + 2)
     749 + 5 * 7 + 2 * 4 + (4 * 8 + 5)
     753 + 5 * 8 + 5 * 5
     76(6 + 6 + 9 * 7 + 4 * 5) + 2 + 4 * 9
     77((3 + 2) + 2 * 4 * 4 * 7) * (9 + 8 * 6 * 3 + 4 + 6) + 3 + 9 * (7 + 5 + 5) + 3
     787 * (8 + 6 * 9 + 8 * 5)
     799 * 4 + 8 + 2 * 3
     809 + 2
     813 + 2 + 9 + 8 + (2 * 9)
     824 * 9 * (3 * (2 * 7 + 6) + 9 + 7 * 5) + (9 * 3 * 5) * (6 * 4 * 9 * (5 * 7 + 7 + 2 * 7) * (5 * 5 + 8 + 8) + 8)
     835 * 7 * 4 * (3 * 8 + 6 * 2 * (8 * 2 + 4) * 4) + 7
     846 * 3 * 2 + (3 * 8) * 4 + 7
     856 + ((4 * 4) * 3 + 8 + 3 * (3 * 6 + 9 * 3 * 4) + (7 * 8 + 2 + 7 * 4)) + 7 + 2
     868 * 9 * (2 * 5 + 6 * 7 * 9)
     879 + (5 + (8 + 2 + 2 * 3)) + 7 * 2
     88(5 + (3 * 8 + 4 * 3) + (3 + 6 * 2 * 9) + (8 + 7 * 7 * 5 + 2 + 9) + 6) * 5 + 7 * ((6 + 2 + 9) * 4 + 4 * 7 * 3) * 8
     894 * (9 * 4 * 9 * 4 + 4) * 6 * 7
     903 + 2 * (6 * 5 * 5 * 7 * (7 * 8 + 4)) * 2 * 7 + 4
     919 * (4 + 4 + 8 + 5 * (7 * 5 + 2 + 8 + 3 + 4) * (2 + 9 * 3))
     929 + ((9 * 7 * 9 + 4) * 3 + 3) * 2 + 2 * (7 + 6 + 2 * (2 + 8 + 7 + 6) * 5)
     938 * (7 + 2 + 4 * 9 * 8 * 4) * 8 + 7 * 9 + 2
     94(9 + 4 + (9 * 5 * 2 + 7 * 9 * 9) + 3 + 5 + 6) + (8 + 5 * 8 * 5 + 8 + 2) + 8 * 2
     95((7 + 8 * 6) * 7) + (4 + 3 + (8 + 2 * 9 + 8 + 3 * 3) * (6 + 5 * 4 * 8 + 8)) * 5 * 6 + 5 * 9
     96((8 * 6 + 6) * (6 * 7 * 9) * 3 + (5 * 4 * 9 + 4 + 7 * 2) * 4) + (8 * (8 + 4 + 8 + 2)) + 4
     97(2 + 2 * 4 * 6 + 6) + 4
     98((2 * 4 + 9 * 2 * 3 * 4) * 8 * 5 + 8) * 6 * (5 * (6 * 4 * 9 * 3) + (2 * 2 * 2))
     99(4 + 9 * 2 + 9 + 2 * 7) * (5 * (9 + 7 + 3) + (6 * 4) * (4 + 6) + (3 + 5 + 7))
    1002 + (9 + 5 + 6) + (4 * 5 * 9 + 5 + 2 * 2) + 3
    101((4 + 6 * 2) + 4) + 3 + (3 + 7 * 6 + 7 * 6) + 9 + (3 + 4) * 7
    1026 * 4 + ((6 + 4 + 2 * 6 * 5) + 4 + 4 + 8 + (4 + 2 * 3 + 9) + 9) + 3
    1032 + (4 + 5 + 6 * 2 * (5 * 5 * 9 * 9)) + ((8 + 3 + 9 * 5) * 3 * 2 * 4 + 9 * 3) + (9 * 8 + (7 * 4 + 6 * 9 + 8)) * 7
    1045 + (7 + 3 + 6) * 8 * 5 + 9
    1058 + (5 * (3 * 7 * 9 + 4 + 7)) * 2 + 8 * ((9 + 2 * 9 * 6 + 7 * 7) * 7 * 3 + (4 + 5 + 4 * 7) * (9 + 2) + 6)
    1065 + (6 + 9 + (2 * 6 * 3 * 2) * 4 + 5 * 3)
    107(3 * (3 + 7) * 6) + 5 * 6 * (3 * 2 * 3 * 7 + (3 + 4 + 4 * 7))
    1089 + (2 + 5) * 6 * (5 + 6 + 9 * 6 * 7)
    1096 * 5 * ((3 + 3 * 6 * 7 * 5 * 6) + (3 + 5 * 4 * 5) * 8 * 3 * 9 * 8)
    110(6 + 7 * (5 + 6)) * 6 * 9
    1112 + (3 + 6 + 5 * 3 + 3) + ((6 * 7 + 5 * 8 * 8) + 7 * 8 + 3 * 2) * 9 + 5
    112((3 * 9 + 4) * 5 * 9 * 7) * 8
    113(4 + 6 * 6 + 8 + 4) + 8 * 9 + 8 + 3
    1142 * (8 + (3 * 9 + 2)) * 7
    1152 + (4 + 6 + 4 * 9)
    1165 + 9 + (4 * 8 * (3 * 7 * 9 * 2 * 6) + 7)
    117(3 + 7 * 6 * 9 + (8 * 6 + 8)) + 3 + 3 * 9 + ((9 * 4) + 5)
    118(6 * (9 * 5 + 9) + 4 * 2 + 5) + 5 * ((2 + 9 * 7) * 4 + (6 * 5 + 2 * 6 + 8 + 7) + 7) + (5 * 6 + (2 * 5) + 7)
    1197 + 4 + 2 * (6 * (4 * 4 * 9 * 8 + 5) * 7 + 3)
    1208 + (7 + 8 * 3 * (6 * 8 + 5) * (2 * 9 * 4 * 6 + 7 * 7) + 3)
    121(7 + 9 * (3 * 6 + 5 + 2) + 5 * 2 + 2) * 6 * (3 + (3 * 8 * 6) * 2 * (4 + 5 * 6) * 5 + 5) + 8
    1225 + 5 * 7 * (4 * 2 * 5 + 5) + 4 * 5
    1233 + 4 + 3 + 5 * (2 * (7 + 9) + 2 * 5)
    124(2 * 7 * 7) * 4 + 4
    125((4 * 5 + 6) + 7) + 4 * 3 + 5 * (9 * 7 + 9 + 8 + 6) * 6
    1267 * 6 + 4 + 5 + (5 * 5 * 2) + (5 * 2 + 5 + 6 + (3 + 3 * 4 * 7 * 9))
    1275 * (2 * (6 + 6 + 4 + 4 + 9 + 5) * 4 + 9 * 8 + 2) * 4 * 4
    1282 * 6 * 3 + (7 + (9 * 6 * 5 + 6 * 7) + 2 * 2) * 9 + 5
    129(9 * 6) + (2 * (8 * 4 + 3 + 8 + 8)) * (2 + 4 * 5 + 3 + 4) + (5 * 7 * 7 + 7 * 7)
    1307 * 2 * ((6 * 5) + (3 + 9 * 3) * (4 + 3 + 9 + 8 + 3))
    1318 * ((4 * 4) * (6 + 6 + 3 * 5 * 3) * 4 + 3 * 4) + 5 * (6 * 4 * (5 + 7 + 7 * 5 + 4) * 5) + 7 + 5
    132((6 + 2 * 9 * 2 * 5 * 7) * 7 * 4) * ((4 + 4 + 4) * 8 + 4 * 8) + (6 + 8)
    1332 * 7 + 3 + 4
    134(9 * (4 + 7 * 2 * 6) * (5 * 5 + 2 + 2 * 5)) + 8
    1354 + ((5 + 3) * 4 * 9 + (3 + 5 * 6) * (3 + 8 * 2 + 3)) * 6 + 9
    1367 * (4 + 6 + 2) + 7 * 2 * 7 * 6
    1376 * ((4 * 9 * 5 * 4) * 7) + 4
    1389 * (6 + 4 + 9 * 9) * 4 * 7 + 2 * 9
    139(9 * (4 * 7)) * 8 * ((7 * 8 * 7 * 3 + 8) + 2 * 2 * (5 + 6) + (2 * 6 * 5 * 5))
    1408 + 2 + 2 * 6 * 2 + 8
    141(5 + 3 + 3 * 5 + 4) * (3 * 6 * 7 * (2 + 4 + 3 + 5 * 4) + 8 + 4)
    142(6 + 6 * 4 + 7 + 4) + 9 * 7 + (5 + 7) * 5 * 4
    143((3 * 4 * 8 + 8 * 8 + 9) * 2 + 8) * 5 * 8 + 3
    1442 * 2
    145(9 + (3 + 2 * 3 + 4) * 4 + 8) * 8 + (7 + 6 * 3 * 7 * 4) * 9 + 4 * 8
    1467 + 3 + 6 + 6 + 5 * 2
    1478 + 2 * 3 * 3
    1487 * 6 * (5 + 2 * 6 * 7 * 6 * 2) + 6 + ((7 * 5 + 9 + 4) * 7 * 6 + 9 * 8 * 2) * 5
    149(3 * 3) * 2 + 4 * 2 + 3
    1504 * (5 * 6 * 2 * 4 * (8 + 3 * 5) * 9) + 5
    151(8 + 5 + 7 + (7 + 6 * 7)) * 7 + 2
    1529 * 2 + 8 + (3 * 9 + 6 * (8 + 6 + 8 * 3 * 8)) + ((5 * 5 * 5) * 2)
    1532 * (2 + (8 + 7 * 7) * 9 * 7 * 3 * 9) + 7 + 4 * 3 + 7
    1548 * 4 + (2 + 3 + 4 * 8)
    155((6 + 2 * 6 + 8) + 4 + 4 * 4 + 8 * 7) + 5 * (4 * 4 + 7 + 3 + 2)
    1567 * (2 + 9 * 8 * 2 + 5 + (8 + 9 + 6))
    1572 + 8 + (5 + 8 + 2 * 6) * 4 + 2
    158((9 + 6 * 8 * 4 + 2) * 2 + 4 * 6 * 5) * 5 + 6 * 3 + 4 * 6
    159(9 + (6 * 7 + 2 * 7 * 7) * 6) * 6 * 6 * 4
    160(4 + 2 + 3 + 3 * (8 * 5)) + 6 * 2 * (8 + 7 + 3 + 9 * (2 * 4 * 8 * 6 + 8 * 5))
    1617 * 4 + (9 + 6 + (9 * 4 * 7 * 8 * 3 + 4)) + (2 + 8 + 7 + 5 + 7) * 2 + (8 * 6 + 5 * 6 * 9 * 8)
    162(9 + (3 * 6) * (5 + 2)) + 5 * 7
    1639 + (8 * 4) * 2 * 6
    1648 * 3 * (9 * (7 * 6 + 7) * (7 * 8)) + 3
    1658 * 7 * 6 * (7 * 7 + 3 + 2 * 6) + (8 + 2 + (7 + 9)) + (5 + 5)
    166(2 * 5 * 7 * 8) + 6 * (5 * 8 + 9 * 8) * 7
    167(2 + 8 * 6 + (7 + 9 * 8 + 2)) + 6 + (3 + 4 + 4 * 2 * 4) + 8 * 8
    1687 + ((4 + 7 + 9 * 9 + 7) + (2 * 5 * 8 * 7 * 7 * 8) * 9 + 6 + 9 * 5) * 4 * 4 * (7 + (3 + 7 + 3 + 4) * 6 * (5 + 4))
    1693 + ((6 * 6 + 8 + 6 * 2) + 6 + 3 + 2 * 5 * 7)
    1709 + 8 + 9 * (2 + 7 * 5) * 4
    1719 + (9 * (8 * 7 * 2 * 6 + 2 * 9)) + 7 * 3 * 2 * 5
    1728 * 9 * (2 + 2 * 6 + 6) + 5
    173(6 * 5 + 8 + 8) + 7 * ((4 * 6 * 3 * 8 * 3 * 5) + (5 + 6 * 8 * 3) + 3) * 7 + 6
    1747 + 2 + ((6 * 7) * 8 + 7) + 6 + 3 * 9
    1756 * (2 * 2 + 8 * 4 + 3 * 9) + (6 * 2 * 4 + (2 * 5 + 4 * 8) + 9) * 7
    1767 * 5 * (6 * 2 + (4 * 5 + 2) + (2 * 5 + 5 + 5 * 7 * 6) * (6 + 5 * 8 * 2))
    1779 * ((7 + 7 + 2) + (5 * 5) + (2 + 3 + 2 * 8 * 7) * 7) * 3
    178(7 + 6) + 3 * 3 * 4 * (2 + 7 * 4 * 4 * (5 * 3 + 8 + 6 * 8))
    1794 + ((6 * 3 + 8 * 6) * 3 + (8 * 4 + 9 * 6 + 4 + 3) * 8 * 2) + 4 * 8 * 2 * 9
    180(9 * (3 * 5 + 8 + 3 + 8) * 3 + 9) + 5 + 5 + 8 + 2
    181(6 + 3 * 7 + 9) * 9 * 6
    182(5 * 2 + 2 + 2 * 7) + 7 * 7 + (6 + 7 + 9 + 9 + 5) * 7 * 5
    1835 + 8 * (2 * 2 + (6 * 3 * 6 * 7 + 8) * 4 + 6)
    1844 + (8 + 2 + 9 + (2 + 4) + 4) * 5
    1857 + 8 * ((9 + 8 * 6) * 8 * (4 * 2 + 3 * 7 * 9 + 6) * 2)
    186(8 + (2 * 8 + 6 * 9 * 6 * 4) * (5 + 5) + 6) + 7 * 8 * 8 + 5 * ((5 * 3 * 7 * 2) * 5 + 4 + (2 * 6 + 6 + 2 + 2) * 4 * 2)
    1876 + (9 + 8 + 5 + 7) + 3 * (7 * 6 * 5 * (2 * 8 * 7 * 5) + 3 * 5) + 3
    1889 * (6 * (8 + 4 * 8) + 4)
    189(9 + (5 * 7 * 7 * 8 + 9) + 5 + 5 * (8 * 7 + 2 + 9 + 9) * (9 + 6)) * 3 * ((8 + 3) + 8 * 4 + 2 * (8 + 6 + 4) * 4) + ((8 + 3 + 8 + 7) + 7 * 8 * (7 * 7) + 5) + 9
    190((3 * 4 * 9) + 2 + 8 + 5 + 2 + 3) * (6 * 8 * 8 + 6 + (4 + 6 + 8)) * 2 * 6 + 5 + 9
    1912 + 2 + (9 * (2 + 5 * 8 + 2 * 5 * 5) * 3)
    192(6 * (2 * 8 + 6 * 4 * 9 + 9) + 8) + 3 + (3 + 2 + 2 + 8 * (3 + 4 + 8 * 9 + 2 + 5)) + 3 * 7 + 5
    193(2 + 5) * (2 + 5) * 3 * (2 + 7 + 8) + 2 + 8
    1943 + 8 + (7 * 2 + (9 + 2 + 8 * 4) + 8 * 8) + 4 * (5 + (6 * 5 * 8) + 7 * 8 + 9 + 8)
    1959 + 4 * (4 + (5 * 3 + 7 + 8 + 7 * 4) * 6 + 8 + 9 + 9) * ((4 * 6 + 8) * 9 * 9 * 6)
    1968 + 7 + ((3 * 6 + 2) + (8 * 2) + 3) + 7
    197(6 + 4) * 9 + 9
    1986 * ((8 + 5) + 7 * 3 * 8 * 5 * 5) * 4 + 4
    1997 + ((4 + 7 * 3 * 3 + 8) * 5 * (8 + 2) * (2 + 6 + 5 * 7 * 4 * 8) + (7 + 5 + 2) + 8)
    2009 + 7 + (7 * 8 + 9) + 3 * 6 + 6
    201(5 * 9) + 5 * 2 + 8
    202(9 + 4 + 7) * ((9 * 7) + 9) + (3 * 9) + ((7 * 5 * 2) * (6 + 9 * 8 * 2 + 5 * 6) + 8 + 9 * 8 + (4 * 9 * 2)) + 6
    2034 * 8 + 7 * ((6 + 9 * 2) * (4 * 7)) + 9
    2048 + ((2 + 2 * 6) * 6 + 2 + 4 + 9 + 5) * 3
    2058 + 7
    2063 + 7 + (9 + 4 + (8 * 4 * 7 + 7 * 3 + 5) + (9 + 7 + 2) + 9) + 5 + 5 * 2
    2076 * 7 + (3 + (3 * 3) + 4 + (2 * 7 * 2 * 3) * 7 + 6)
    2085 * (4 + (7 * 7 + 4 * 5 * 2 + 6) * 3 + 5 + (4 * 3 + 3 + 6 * 6) * 7) + 3 + ((2 * 8 * 4 + 8) + 6 + (5 * 9 + 2 * 7) + 4 * 8) * ((3 * 5 * 3 * 9 * 7) + 5 + (3 + 9 + 9 + 2 + 5)) + (3 * 7 + 9)
    209(3 * 7) + 5
    210(2 * 5 * 6 + 6) * 2 * (9 + 3 + 6)
    2112 * 2 + (6 + (4 + 2) + 4 + 9 * 9) + ((9 + 3 + 6) + 2 * 3 * 5 + 3 * 3) * 8 * (2 + (6 + 3 + 2 + 9 * 6 * 6))
    2128 + (6 + 8 * 8 + 3 + (4 * 7 + 6 * 3 + 6 * 8) * 6)
    213(8 * 8 * 4) * 5 * 9 * 9 * ((9 * 2 * 8 * 2) * 4 + (2 + 2) + 8 + 9) * 4
    214(6 * 3 + (8 + 5 * 9 + 2 + 8) * 3 * 7 * 2) + 9 + 8 + 2
    215(2 * 4 * 3) * 4 + 6 + ((5 * 7 * 4) + 7 + 4 + 5)
    216(8 + 5 * 2 + 5 * 3 * 9) * 8 + 8 * 2 * 8 + 5
    2174 + (6 + 6 * 9 * 5) * (4 + 5 * 6 + 8) + 8 + 8
    2186 + (5 + 7) * 3 + (7 + 2 + 4 * 5 + 2 * 4) + (6 + 4 * 5 * 7 + 4 + 5) * (5 + 6 + 8 + 8 + 9)
    219(5 * 7) * 6 * 8 * 9 * 6 * 6
    2206 + 8 + 7 + 3 * (2 + 9 * 7)
    2213 + ((8 * 5 + 8 * 8 * 9 + 8) * 2 + 6) * 2 + (2 + 6)
    2226 + 6 + (3 * 7 * 8 * (3 * 4 + 2 + 2 + 3)) + ((6 * 3 + 9 + 2 + 5 * 9) * 9 + 2 * 7 * 2 + 4) + 9 + 4
    2239 * 8 + ((6 + 8 * 2 + 7 * 6 * 4) + 4 + 3 + 7 + 5)
    224((2 + 9 + 2 * 9 + 3 * 5) * 3 + 3 * 4) * 4 + 4
    2256 * (8 + 7 * 5 * 8 + 2 * 2) + (4 * 4 + 8 + 3) + 3 * 5
    2267 + (8 * 3 * (5 + 7 + 6) + (9 + 9 * 9 * 6 + 4 * 7)) * 7 + 9 + 4
    2276 * (9 + 7 * 6 * 5 * 8) + 5
    2282 * 6 * (4 + (4 * 7 * 2 + 9 * 9) * 5 + 2) + ((5 + 6) * 3) + 8 + 2
    2295 + 4 * 9 + (5 * (8 * 9 + 2 + 3) * 6) * 3 * 5
    2305 + 9 + 9 + (5 + 2 + 8) * 3 * (7 + 6 + (7 * 7 + 7 + 7) * 6 + 7 + 2)
    231(2 + 6 * 4 + 9 * 2 + 2) + ((3 * 8 * 6) + 2 * (9 * 5))
    2325 + 3 * (3 * 5 * 3 * (7 + 6 * 9 + 3 + 8 + 4) * 9) + 2 + 7 * (6 * 8 * 7)
    233(4 + (9 * 5 + 3 + 4 * 5) * 6 + 9 * 6) * 5 * 9
    2344 * (2 + 4 * 4 + (2 + 6 + 8 * 2 * 8 * 8)) * 4 * 6 + 9 + 3
    235(8 + 9 + 4) + 2 + ((5 * 7 * 3 * 9 + 3) * 6 + 4) * 3 + (2 * 5 * 3 * 3) + (7 + 2 * 9)
    2368 + (6 + 4 * 8 * (9 + 6) + 5 * (5 * 8 + 9)) + 2 * 5
    2377 * 5
    238(4 * 3 * 3) + 7 * (8 * 4 + 3 + 9 + 5 + (6 + 4 * 8 + 3 + 7)) * 6 * 9
    2399 * 2 * (9 * 9 + 4 + 2 * 9) * (3 + 5 + 8)
    2403 + (3 + 6 + 8 + 3 * 7) + 6 + (8 + 7 + 5 + (4 + 8 + 5 + 4)) * 6
    2417 * 2 + 3 + 8 + 2
    2429 * 6 * 5 * 9 * (3 * (8 + 9 + 5) * (5 + 3 + 8) + 5) + 5
    2436 + 6 + ((6 + 2 * 7 + 5 + 3) + 4 * (8 * 4 * 2 * 2 + 7)) + 8 + 5 + 3
    2449 + (2 * 7 * 4 * 5 + 6 + 4) * 5 * 2
    2457 + ((2 * 4 + 2 + 4 + 3 + 3) * 9 + 5 + 6)
    2462 * 9 * 8 * (5 + (4 + 5 + 2 + 7))
    2472 * 6 * 4
    248(8 * (9 * 6 * 9 * 2 + 4) * 6 + 7 * 6) * 6
    2498 * (3 * 3 * 4 + 8) * 8 * 7
    250(8 * 3 * 8 * 8 + 4 + 8) + 4 * (9 * 3) * 7
    251((8 * 9 + 2 * 4) * (4 + 3 + 8 + 9 + 8) * (3 * 8 + 7) + 6 * 3) + 5
    2522 + (8 * 9 * (7 + 6) * (4 + 7 + 7 + 7))
    2534 + (8 + 6 + (8 + 6 * 6 + 7 * 9) + (3 + 6 * 5 * 6)) + 5 * 8 * 7 * 9
    254(7 * 7 + 8 * 4 + 4) * 3 + 2 * 4 + 5 * (4 * 7)
    255((4 + 2 * 6 * 8 * 9) + (8 * 5 + 8) * 9) * 9 + 7 * 7 + 9
    2566 + 3 + ((5 + 6 * 6 * 4 * 3 * 6) + 4) + 4 + (6 * 7 * 4 * 7 + 4 * 5) * 4
    2573 * 2 + (4 * 4 * 3)
    2589 + 7 + (8 + 4 * 5 * 7 + 3) * 9 * 6 + 4
    259(3 * 8 + 9 + 8 + 5) + (2 * 6 * (2 * 4)) * 7 + (7 + 9 * (4 + 9 * 2 * 9 * 9) * 2) + (4 * 2 * 3 * 9)
    2602 + 3 * 4 * 6 + 6
    2618 * 4 * 8 + (2 * (5 + 9) * 3) * 6 * 4
    2628 + (5 + 3 * 3) * 8 * (9 * 9 + 3 * (9 + 9 * 5 + 8 * 4 + 4) + 9) * ((5 * 7 * 7) * (9 + 6) * 6)
    2632 + 5 + 7 + 8 * (4 + 9 * 4) + 7
    264(7 + 9 + 7 + 2 * (5 + 3 * 6 * 5) * 4) + 5 + 8 * 3
    2658 * 7 + (4 * 8 * 9 * 7 * 7 * 7) * 5 + 6 * 4
    266((8 + 6 * 9 + 7 + 3) + (8 * 2 + 9 + 6) * 3 * 8 + 9 * 5) + (3 * 8 * 2 * 9 * 5) * 3 + (7 + (7 + 4 + 3) + 3) * (9 + 9 + 6 * 9 + 2 * 9)
    267(9 * 3 + 2 + 5 * 9) * 5 + 6
    268(3 * 6 + 5 * 9 + 2 * 6) + 2 * ((9 * 3) * 2 + (9 + 7) * 4 + (2 * 8 + 2 * 4 * 9) + 7) + 9 * (5 * (6 * 8 * 9) * 4 * 6 + 2) + 2
    2692 + 9 + 6 + (6 + 6) * ((4 * 7 * 6 * 8 + 3 + 3) + 9 + 7) + ((2 * 2 * 6) + (9 + 2 + 6 + 2 + 8) + 4 * 7 * (7 + 4 + 4 * 5 + 8) * 4)
    2707 * 4 + 9 + (5 + 9 + 9 + 4)
    2712 * 8 * 2 + (4 * 9)
    2727 * 3 + (5 + 8 * 4 * (9 + 6 * 8 + 2 * 3 + 9) + 2 * 9) * 9 * 5 + 9
    2732 * (5 * 6 + 8 * 2 + 6) * 3 * 3 + 7
    274(6 * 5) + 8 * 3 + 9 * (7 * 4 * (2 * 6 * 6 * 2)) + 6
    2756 * 5 * 2 * 8 + 8 + (6 * 5 + (7 * 7) + 3 * (9 * 8 * 2 * 5 + 4 + 5))
    2762 + 3 + 7 + (8 * 2 * 2)
    2776 + 3 * ((9 + 7 * 4 + 4 * 3 * 6) + (3 * 5 + 8 + 3 * 3 + 4) * 5 + 5 * 5) * ((4 + 2) + 9 * 4 * 9 * 5)
    2788 + 7 + 6 * 2 * ((8 * 3) * 3) * (2 + 5 * 5 + 5 * 8 + 8)
    2795 * 2 * 8 * 4 * 7 * 2
    2804 * 9 + 8 * ((9 * 5) + 5 * 2 * (6 * 4 + 2) * (2 + 8 * 8 + 8 * 2))
    2813 * 2 + ((8 * 8) * 2 + 8 + 5 * 8 + 9) * ((4 * 7 * 4 + 5 + 6) * 6 * 3)
    282(3 * (3 + 3) * 2 * 3 * (4 * 2 + 9 + 3 * 5 * 3)) * (2 * 2) * 3 + (5 * 5 * 6 + 2 + 2 * 3) + 7 * 2
    2834 * (3 + 2)
    2843 * 9 * 2 + (5 * 7 * 5 + 7 * 5 * 9) + 9
    2852 + (5 * 7) + 3 + 7 * 8 * 8
    286((4 * 6 * 8 + 4 + 4) * (2 + 3 + 5 * 2)) + (2 * 5) + 3
    2879 + (5 * (3 + 8 * 7) + 8 + 4 + 8 * (6 * 2 * 7))
    2889 + 6 + 6 * 3 * (2 + 7 + (5 + 7 + 4) + 3 * 2) + 5
    2897 + (5 * 5 + (4 * 5 + 7 * 4 + 3 + 3) * 4 + 7)
    2909 + 5 + 3 + ((7 + 7 + 2) + (6 + 9 + 7 + 4 * 5 + 7)) + 6 * 6
    2915 * 8 * 2 + ((6 + 6 * 3 + 6 * 8 * 6) + 6 * 3) + 3 * 2
    292(5 + 5 * 5 * (3 * 7 * 3 + 2) + 6 + 6) + 7 * 4 + (6 * (8 * 8 + 5) * 9 * 8 * 8 + 4) + 6
    293(7 + 3 + 6 + 2 * 8 + 5) * 6 * (2 * (3 + 7 + 9 + 6) + 5 + 2) + 8
    294((7 + 4) * 6 * 9) + 5
    2952 * 7 + 5 + 4 + 7
    2969 * (2 * 2 * 7 + 4 * (4 * 6 * 5 * 8))
    2975 * 9 + 8
    2986 * 2 * 8 + (5 + 3 + (8 + 9 + 6))
    2993 * 5 + 9 * (4 + 2 + 9 + (5 * 3) * 3 + 6) * 5
    3004 * 8 + (3 + 9 * 6) * 7 * (7 * 3 * 9 + 8 + 6 + (9 * 9 + 7 + 4)) + 8
    301(2 * 9) * (6 * 8 * 6 + 5)
    3029 * 2 * 3
    303(6 + 2 * 9 + 5) * 6
    304(8 + 3 + 2 * (2 + 8 * 2 + 6 * 2 + 2)) * 2
    305(4 + 8 * 6) * 3 * 6 + 4 * (3 * 2 * 5 + 9 + 9) + 8
    3063 + (9 * (8 + 6 + 8 * 7) * 8 * 7 + 7) * 7 + 8 + (2 + 3 + 6 * 6 + (2 + 4 + 6 + 5 * 3)) * 5
    307((5 + 2) + (7 * 4 * 9 + 3) * (4 + 5 * 8 + 6 * 6) + (9 + 2) * 4) + 6 + 9 * 3 * 4 * 5
    3082 + (7 * 5) + 4 + 3 + (3 * (7 + 2 * 6 * 7 + 6)) + 4
    3092 + 6 + (3 + 2 + (2 + 3) + 7 * 4 * (8 * 7 * 2 * 4 + 8 * 5))
    3104 * 3 + 6 + 5 * (9 + (2 * 4 * 8 * 8 + 8) + 2 + 4) + 9
    3114 * 6 + (9 * 8 * 9 * 5 * 9 + 7) + 7
    312(4 + (9 + 5 + 2 + 4 * 4 + 6) * 5 + 8) + (2 + 8 + (6 + 5 * 8 * 7) + (7 * 5)) + 5
    3133 + 2 + (6 * 9 + 9 * 2) * (7 * (5 * 8) + 9 + 6 * (7 + 7 * 9 + 2 + 4) * 7) * 9
    3145 + 9 * 7 * (8 * (6 + 4 * 5 + 3 * 2 * 4) + (5 + 2) * (6 * 3 * 7 * 6 + 8 + 3))
    3155 * 7 * 2 + 7 * 6 + (2 * 7 + 5 * 5 * (6 + 7 + 5 + 7))
    3164 + 7 * 2
    3179 + ((6 * 7) + (9 + 7 + 7)) * 4
    3185 + 6 * (3 * (8 * 8 * 3 + 4 * 5) + 4 + (2 + 7 + 3))
    319(2 + 7 + 6) + 5 + 7 * 6 * 8 * 9
    3202 * (6 + 9) * 8 * (9 + 4) + 7 + 8
    3215 + 3 * 6 * 9 + (4 * 8 + 3 * 2)
    3229 * (2 + 5 * 5) * 9 + (8 + 2 * (5 + 2 * 7 + 7 + 4 * 9) + 3 * 6 + 9) + 8
    3238 + 4 + (2 + (9 * 2) * 5 * (5 * 8)) * 8 * 7
    3245 * (3 * 5 + 6 * 4) + (7 * 5 * (6 + 6 * 7 * 8 * 6) + 8)
    3255 + (4 * 6) + 6 * 5 + 6
    3267 * 9 + ((6 + 3 + 6 * 4 * 4 * 6) + 7 + (6 + 4 * 7 * 3 + 9 * 6) + 4 + 9) + 6
    327(8 * 6) + (3 * (3 + 2 * 7 * 9 + 9 + 9) * 3 + (2 + 8 * 5))
    3283 * 4 * 6 * 4 * ((2 + 3 * 6) * 9)
    3295 * ((8 * 5 + 7) + 4 + 7 + 6 * (9 * 6 * 3 + 9 * 7 + 2) + (4 + 4)) + 8 * (7 * (2 * 8 * 6) + 8 + 9 + 6) + 7
    3302 * 8 * 5 * ((9 * 4 * 9 + 5 + 2) + (3 * 9) + (6 + 9 * 4 * 9 * 2) * 5 + 5) * 9
    3315 + (7 * 8 + 7) + 2 * 5
    3324 * (7 + 4 + 5 + (6 * 2 + 3)) * (7 * 3 * 7 * 8 * 7) * 2 * 2 + 2
    333(4 + (5 + 5 * 8) + (5 * 5 + 3 * 5) + 6) + 6
    3346 + (8 + 6 * 4 + 8 + (7 * 6) * 6) + 2 + 3
    335(6 + 3) + ((8 * 7 * 6 * 6 + 6 * 7) * 4 * 6 * (3 + 3 * 2)) + 6
    3364 * 2 * 3 * 3 * 7 + 9
    3373 * 4 * 8 * (6 * 6 * 3 + (3 * 9 * 3 * 3 + 6)) + 5 + 4
    338((7 * 2 + 7) + 9) * 2 * 8 * 3 + 3 * 3
    3392 * 3 + ((2 * 5) + 8 * 7 * 5 + (8 * 2 * 4) * 8) * 3 + 7 * 8
    3409 + (4 + 6) * 3
    341(9 + 5) * 3 * 2 * 7 * (6 * 4 * 3)
    342(3 * 3 * (3 * 3 * 5)) * 7 * 8 + (6 * 7 + 4) * 2 * 2
    343(2 + 4 * (9 + 9 * 7 * 9) + 4) + 4 + 3
    344(9 + 4 + 3) * 9 * 3 + 7 * 3
    3456 + 4 + (6 + 2 + 4) + (9 + 7 * 8)
    3467 + 9 + 5 * (3 + 9 * 7 + (5 + 8 + 9 * 4 + 6) * 5 * 8) + 9 * 6
    347(3 * 7 * 7 * 3 + 7) + 4 * 3 + 5
    348(8 + 7 * 2 + 5) * 4 + 7 * 2 + 5 + 3
    3499 * 5 * ((5 * 8 + 2) * 7) + 2
    3508 * 4 * 9 + 2
    3514 + (3 + 5 * 7 * 3 * 8 + 5) * 6 + (3 + 2 + 9) * 5
    352(3 * 5 + 8 * 8 * (7 * 6 + 2 * 6 + 9 * 7) * 9) * 7 * 9 + 9 + 3
    3535 * 9 + 6
    3546 * (8 + 3 + 4)
    3552 + 5 + (4 + 5 + 8 * (8 + 6 * 9 * 8 + 3) * (3 + 9 * 3) + 3) + 7 + 2
    3569 * (6 + 4) * 9 * 4 * 2 * ((4 + 3 + 2 * 9) + 6 + 5 + 8 * 7 + (7 * 7 + 6 + 2 + 8))
    357(7 * 2 * (4 + 2 + 7 * 5 * 6 * 5) * (3 * 4 + 2) + 6) + 9 + 5 + 3
    3584 * 5 * ((5 + 9 * 7 + 2) + 4 * 7 + 9) + 9 + 7
    3597 * 2 * 6 + 9 + 5 * 6
    3603 + 3 * 7 * ((3 * 3 + 2 + 7 * 5 + 2) + 7 * 6 * 2 * 5 * 9) + (4 * 5) + 7
    3619 + ((5 + 5 * 7) + 7 * 2) + 7 + 6
    3624 * 9 * 9 + ((9 + 3 + 7 * 4) * 4 + 2 + 9 + 8 + 6) * 6
    363(6 * 2 * 5 + 4 + 5) + (8 + (8 * 5 + 7 * 7 + 6 * 2) * 6 + 6) + 4 * 8
    364(5 + 6 * 2) * 5 * 6 * (5 * 5) + 9
    365(7 + (9 * 4)) * ((4 + 3 + 5) + 7 * 5)
    3662 * 5 + ((9 * 6 * 3 * 6 + 4) * 9 * 4) * 2 * 3 * (8 + 6)
    3673 * 6 * 5 + 9 * (6 + 4 * 2 + 5 * 6)
    368((7 + 8) + 3 + 7 + (8 * 3 * 6 + 8) * 2) * ((3 * 5 * 9) + 5) * 8 + 8
    369((3 * 4 + 5 + 2) + 6 * 6) * 9
    3704 + 6 * (9 * 6 * 7 + (2 * 5 + 5 * 9 + 6)) * 8
    3714 * (2 + 2 + 9) + 5 + 5 * ((5 + 3) + 4 * 7)
    3726 + 8 * 3 + 4
    3732 + 8 + (8 + (7 + 5 * 3 * 8 * 7 + 2) * 6) + 3