-
Notifications
You must be signed in to change notification settings - Fork 0
/
day21.go
1787 lines (1767 loc) · 23.7 KB
/
day21.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package main
import (
"fmt"
"strconv"
"strings"
"github.com/antonmedv/expr"
)
func main() {
fmt.Println(part1(input1)) // 152
fmt.Println(part1(input2)) // 24947355373338
fmt.Println(part2(input1)) // 301
fmt.Println(part2(input2)) // 3876907167495 // Solved by pasting solution in mathpapa.
}
func part1(input string) int {
code := parse(input)
program, err := expr.Compile(code, expr.Env(nil))
if err != nil {
panic(err)
}
output, err := expr.Run(program, nil)
if err != nil {
panic(err)
}
switch output.(type) {
case float64:
return int(output.(float64))
default:
return output.(int)
}
}
func part2(input string) int {
rows := strings.Split(input, "\n")
for i := range rows {
if strings.HasPrefix(rows[i], "humn") {
rows[i] = "humn: N"
continue
}
if strings.HasPrefix(rows[i], "root") {
rows[i] = strings.ReplaceAll(rows[i], "+", "=")
continue
}
}
code := parse(strings.Join(rows, "\n"))
type data struct {
N int
}
exprs := strings.Split(code, " = ")
var n int
code, n = exprs[0], toInt(exprs[1])
program, err := expr.Compile(code, expr.Env(data{}))
if err != nil {
panic(err)
}
compute := func(n int) int {
output, err := expr.Run(program, data{N: n})
if err != nil {
panic(err)
}
switch output.(type) {
case float64:
return int(output.(float64))
default:
return output.(int)
}
}
fmt.Println(code, n)
for i := 0; i < 1_000; i++ {
o := compute(i)
if n == o {
return i
}
}
return -1
}
func parse(input string) string {
rows := strings.Split(input, "\n")
c := make(map[string]string)
for len(rows) > 0 {
var row string
row, rows = rows[0], rows[1:]
parts := strings.Split(row, ": ")
monkey, op := parts[0], parts[1]
ops := strings.Fields(op)
switch len(ops) {
case 1:
c[monkey] = ops[0]
case 3:
lhs, rhs := ops[0], ops[2]
if l, ok := c[lhs]; !ok {
rows = append(rows, row)
continue
} else {
lhs = l
}
if r, ok := c[rhs]; !ok {
rows = append(rows, row)
continue
} else {
rhs = r
}
isNum := isInt(lhs) && isInt(rhs)
switch ops[1] {
case "+":
if isNum {
c[monkey] = fmt.Sprint(toInt(lhs) + toInt(rhs))
} else {
c[monkey] = fmt.Sprintf("(%s + %s)", lhs, rhs)
}
case "-":
if isNum {
c[monkey] = fmt.Sprint(toInt(lhs) - toInt(rhs))
} else {
c[monkey] = fmt.Sprintf("(%s - %s)", lhs, rhs)
}
case "*":
if isNum {
c[monkey] = fmt.Sprint(toInt(lhs) * toInt(rhs))
} else {
c[monkey] = fmt.Sprintf("(%s * %s)", lhs, rhs)
}
case "/":
if isNum {
c[monkey] = fmt.Sprint(toInt(lhs) / toInt(rhs))
} else {
c[monkey] = fmt.Sprintf("(%s / %s)", lhs, rhs)
}
case "=":
c[monkey] = fmt.Sprintf("%s = %s", lhs, rhs)
}
}
if _, ok := c["root"]; ok {
return c["root"]
}
}
return ""
}
func isInt(s string) bool {
_, err := strconv.Atoi(s)
return err == nil
}
func toInt(s string) int {
n, err := strconv.Atoi(s)
if err != nil {
panic(err)
}
return n
}
var input1 = `root: pppw + sjmn
dbpl: 5
cczh: sllz + lgvd
zczc: 2
ptdq: humn - dvpt
dvpt: 3
lfqf: 4
humn: 5
ljgn: 2
sjmn: drzm * dbpl
sllz: 4
pppw: cczh / lfqf
lgvd: ljgn * ptdq
drzm: hmdt - zczc
hmdt: 32`
var input2 = `hmzs: 2
lpls: nsrg * lnzd
jvjf: 20
lwlh: hfmt + fwcp
lmdw: 4
zgjf: dmch * dscg
wbjv: tmrf * ptrl
cdlp: 1
bgzs: 4
zlqb: qfjg * gwpn
spnz: 3
htcq: 5
bvrw: 2
vvdh: crtg * bzjt
gfgp: 3
gjtp: 3
bpbc: rfvg * wdzw
nlmq: hvdq * cspf
zgmm: 2
dhtt: ssbh * sqqd
wzhv: nzhg * mrcj
qtqq: djmb * gqzw
nvlf: 3
ddrd: 4
hmvh: lgvm * pqqg
tdvr: 15
cpmd: zdsd - tndh
qplt: dnvf * brdl
blbg: 2
vcfh: 10
mgdf: 2
chbw: 17
nlwt: 3
tnhd: snqs * msnr
bczr: jfgc + pzvg
wppm: 20
flgw: hbzp + dbwv
njjw: 3
nntw: 2
qtdl: 2
wcrh: spcp * hwtc
fpcw: 4
ssgv: 3
ssbz: 4
tgmp: 6
cszt: qvdn + lwpv
dqnr: 3
shth: 4
zpnj: dqnr + jggp
vjng: zzgz * csgq
hgsw: srnm + sghv
bvnn: wfdf * mrch
vndr: ltss * hqnd
mnlv: chjc + jvtg
zrng: qnrj + lmdw
srnt: 5
mspm: trlt * lgbw
jfvp: 3
dnnm: 7
vmcc: 2
mqml: 4
rrqn: wzqq + rvms
lmbm: 9
prmg: 2
ccjj: fjlr * pfgc
root: plmp + rmtt
ttrt: zclg + rpwf
tvlh: 5
jzls: 5
lmgw: njvq + lwbb
jptj: 4
nhtd: 4
srml: wtns / fdtt
mjzj: ghcv - vtdj
rglt: cssm * vcfh
ghtv: 2
nvsp: 2
ctrz: bjdv * cggf
mlsw: mqpc + cmbq
nsrg: 4
dcsv: 11
svws: 13
drbh: rrvg * cjqp
sbqj: bhwj + ttvv
rnll: tqml * dnfz
pzrc: cggw * fddc
rwdf: twdn * nfnq
rfmt: fwff + bsjd
snqs: sflb * ghnz
phjl: 2
zjgp: 7
llnz: 3
qswp: 5
ntbz: 3
lzjc: 3
wnbl: hllm * qbqc
vclc: 4
zssd: 3
qpmw: 3
qwtl: 3
psbp: 3
cqrj: 5
nmjb: 5
ggnt: 1
nvqq: vqbt / jljg
mmhp: 5
vqqh: 1
pbrj: zfdj + ftjt
tgmn: 3
zjzq: cjbq * lvnl
rwmh: 3
gdgg: wbqn * wmpm
bssl: rjnp / zgrq
bhwj: vbjf * slmw
cmbq: 9
stqh: 2
tlbh: 2
sghv: 3
lgbw: 2
rmlm: 2
mrhd: htcq * mnbz
grzl: gmsw + lcwj
wdzw: 2
lhdn: fqtb * hngp
pgrf: qjqs + hvfl
lvmd: wvrr * pwhc
rdcp: nwmf * dtqs
qpdz: rmhh + qcvp
pttn: grdg * vnnj
hdbc: 8
psjb: pfvb + dqgm
pglc: ddlr * jbdw
gzht: 5
jnns: 4
htlp: 14
pbmd: jlfz + rlqb
bqts: 2
tvbt: nzbd + gtfl
wmvb: tlwm / wchd
tzvw: 3
lwrj: wmvb * gnqz
bjdf: rznq + cfnc
bbms: 4
bmlf: 5
blwz: 11
znlb: qvmp * ggcc
zcww: lfwl * htgc
dtvf: gvrc * zjgd
dpdp: hrbt * dcns
tpch: 3
fsqv: 3
scwt: bwhs * llnz
nhrt: 2
shhj: lzjc * bcfq
tccr: tzpv * ghpc
rwtl: 1
glpq: 13
zlng: pjdc * nldd
fnnn: 6
fvmn: rmvr * nnng
vgpj: 4
dpts: nzbw * gljr
zggz: gldl * ntld
gtfl: fszq * bmjq
ntld: gjdp - pnmt
tgmr: bcsq - tvbw
szsc: 5
tprr: nvsp * gcsn
dsrj: brqt * rhbh
mppc: rwmh * cbsh
sltf: 14
vdcq: nvqq + vtlw
tngm: 2
fwlr: sgvj + pwdm
fdld: 5
dvgm: czzr + mwnr
qzdf: 3
jwhp: htdb + zthg
drvz: zrnl * lfdz
fbsv: 5
nmbj: sjjv * nhvd
cdcd: vmzl * zftb
hrrt: mstl + jpbh
dvvb: 3
hrcd: vndr + zpzr
qptt: lrbm * ldzc
hgvr: mndv / qnrt
pwqz: szdf * qgfb
lqdp: rdbn + qgzh
nlph: 15
snrq: nvlf * wsbb
ppfz: stqh * ttnd
ltfw: 3
fffb: 11
qnhf: vdcq * hfwq
vhvq: nlph - wjfj
fltw: tswt + nprv
swqv: zcmv * qwnb
pdml: 3
ljsq: 2
hrjv: 7
hwph: jfzj * smfv
hcpg: 5
snvh: 2
jcbh: pdbw + blgz
gqhf: gqrb * bpsp
drgc: npzj + fcgf
sqlv: 1
brqt: rnll + ncrv
lmmb: rwpm * ptlf
qtlv: 8
mpnn: 2
bqdt: rgjb * blbg
gmbw: 5
rvgc: llhn - qbmf
tbsd: scgf / czjs
bqpn: 13
bgtr: jbtj + mpjq
wwjt: 4
stnm: 12
wttm: 2
twdn: nrdl / wglm
qczb: 3
jdhp: ltfw * gwmc
wtzh: 3
wrdm: 9
hmnb: tnqp * pdml
qnrj: 3
pzmb: 2
vwqq: ctbh * pdql
pmqb: 3
rlgd: 2
jpbh: dlpw + hljl
dgqq: qdtm * zfwv
mmgw: djhf * nzll
zsgj: 3
qmrl: 1
qntj: ldnw * rtqq
vnwd: 11
fqtb: 2
gqbf: 12
sbfb: wbnp + jvjf
cplz: hpsb + wfbp
qfjg: 4
qwwh: 6
ddhn: pqsz * lpjf
cwtq: 8
jggp: bmwc * blhn
pnmt: dhsg * dddh
pgqz: ftbr * mmdz
rpzh: 19
vlvm: 19
ghqz: cdjm * zvws
gtsc: snvh * mrhs
dnfh: jsjn / fqsn
bvmq: mrqh / tlbh
wbfg: lmmb + jmch
dcns: 2
mvjj: 4
dwpn: hpsr - lpls
cntz: nmnf * dvgm
nfrz: qctl + dnfh
npzj: dfql * vdft
cqcm: 3
sfbs: 4
plnf: 2
vdjm: psjb * bqts
bsgt: 19
mbsj: 5
nnrn: tpww + gcfz
ttgp: 13
vpbc: nfrw / qfdf
vtvf: 2
ppfr: lmmn * jwhp
cmst: 2
hbzp: 5
cvjc: 5
lnfl: 12
fhds: lgdt + gfbd
ppwr: 2
zclg: 5
hdsb: cfrr + bhml
hqlw: 3
dlmz: 3
hwsd: wbwj / tcng
tmzl: 2
ttjp: wjgg + bgsg
dqnt: fvns + rdcp
bnls: nhwl * vwdw
vwdw: 2
vljf: 2
bdrv: pfcb + bcbt
bhml: wfpv + mtmw
qctl: vscn / cbjs
qfvg: tsrb * ctnj
bncv: rhsg + qvzn
cvwh: 3
cgff: mfpg * cmgv
hfvf: lcjh * lfnz
fdwq: jqgj + gmsz
jlwd: 3
dnhq: 1
nfgg: bnbz * phnv
rsbc: 3
nhbt: 2
qjnn: dwls * nnbs
qhhd: snrq * jtjz
nrdl: qznf * pztb
bcsq: ctnv / dhbd
lzwf: gvhn / vbzm
gvdz: wmct * jjdj
vdbg: 2
zhfg: 3
sbrc: wbgz * hjst
tlwm: vcsm + gpws
tvbw: phnd * flrh
cgqq: 4
ljdw: 5
ctrt: 3
hsvm: pbnf * zsgj
qznf: 7
pfcb: 6
lgvm: gdhf + ptgr
zggv: 3
rrcq: 3
cfrr: phsn + sqlv
frmt: hpnw * tvzw
wdqg: bmsd + bgsb
sqjw: nqvr * tgmr
dddh: jttp * bqvs
wsfw: 2
bhwr: lpqb * slsq
vcsm: lrln / sjhc
fwbs: rnfw / szwv
nzll: bwjv - nsht
hprp: 3
hnjl: bdzc * svzv
nznw: clwm * tccr
mhqv: 5
jbbn: nvwc - gqhf
bcsf: rrpj * vtvf
smpm: 3
fbld: fnnn * dnzd
lqjs: 2
jlwz: 2
pmrg: djnz * qmlz
zvgl: zjnb * nshq
vmqh: fjzg * rlnh
htjl: qnhf + blwz
gqcw: 15
nsht: wzhv * vclc
rbtc: 3
mbbs: strf * vvft
tjzm: 3
bmwc: 2
wnwr: 2
hmsn: twgt + mvrq
hplf: srml - nftd
nhfs: 7
gdrg: 18
hllm: 11
flsm: jjmh * crtv
dpvl: hqqq * ntbz
chln: 2
vcjl: 3
dhsg: cvwh * dmtb
rqdd: tpsn * zhvb
bwhs: 2
pggs: lqjs + dqhh
gmsw: 7
wzhm: 4
dmcb: 4
wcjs: mqlb / jtls
jjsq: 5
cmsj: 3
jcpm: 3
fdtc: sdhb * vfmq
zgtv: ljbn + tvbt
qrfp: twpv + mvtn
cbsh: 2
dlpw: szmw * qlcj
wzqq: dnzf + qrfp
btsb: 4
dzsv: 3
lrln: cjsg * jjts
gzjc: cdlt * pdbs
cllh: 3
sqcq: 5
sdvb: btbf * gmhw
rrvc: bgts / dzjp
hqlm: nmjb + rfdh
rmvr: rrpl + dsbp
tzww: 2
dhbd: 2
thlq: 2
npss: sdcq * stmj
mdsh: 4
cspw: fwbs / gfwn
ccgp: jjtb * jdmd
rwpm: 3
nldd: qzzj + lzwf
vbmp: 2
lvwr: 3
ntfr: pntp * pljj
crtv: 3
rllc: 2
lfdz: 3
jqcl: 5
rrpl: 2
ccsp: lzsj * rsts
vbzm: 5
wmjn: ggsn * wvtw
tcng: 3
qsst: jfpj + pnjq
bnbz: 3
nftd: 10
jwrb: 2
nwmf: 5
vdtg: tnnp + npjm
sqqc: 7
rzpn: tdcc * zqnn
srph: qplt + cdsb
vvjh: ggnt + qlvd
lvtz: nlsl * lrwh
jljg: 3
hmvt: pwsb * jcgf
plmp: sznb / dcsv
wqfd: 3
ffww: 3
jvgn: 4
czjs: 2
czdl: frgz + dvnf
vmzl: djzq * fpqv
zmpq: 2
sdtn: 7
fsfd: 5
dfql: 3
tszz: 3
zzgz: smwb + ncpq
cwwl: jzls * tbvn
mcfp: ffww * jpwq
cbnn: lfmz + tcdz
bvbl: gfgp * hvqf
nhpg: slmm + qmrl
lwpv: 3
hwtc: 3
lmmn: jgfn + fwlr
bdzc: 2
gjll: bcsf + hcdq
sjsh: 2
qhvt: gjjj * zbnv
gcsn: wddr + rnph
dnzf: 3
wjjw: 4
rznq: qhhd * pvpf
vdvs: btpj * jjzn
cmgt: vllz * ddld
zjgd: lbrl + nqfm
ppmb: jznn + nzms
rnph: pzrc + mjsd
vnhs: tfds / gmbw
tzpv: 2
stmj: 3
hmnc: jrpn / qtdl
sflb: 14
dfwr: rrgl + tthm
qmrh: 2
pntp: qwzz + jrjw
qmln: 2
mndv: ncss - rwzl
rhbh: 3
qqjb: rrnn * cswm
brvm: gdgg + wgnr
vfvl: 2
czqv: vppl + bvdm
fsmj: 3
sqrr: lmgw * fmzm
jhqz: 3
pztb: 4
trlt: 13
wstw: 2
vscn: lmls + mhdd
rwqr: zlcj + hwcv
hqnd: 3
jrtc: 3
btrr: 8
snbq: zggz + lvsb
cpdm: 5
sgbq: mmhp + ngds
rfdh: 2
mswz: 2
jnnt: cqlv + cgff
rltd: 2
fqjz: mvpj - hnqf
pzhz: 2
cmgv: 2
njbs: mdfg + vbrv
cpnw: zzqh * jqcl
fnlj: 2
djlm: jqvh - hmnc
mpzl: vchg - ccsp
wwzs: 2
rprh: 2
zcmv: 5
ggvg: tzww * cplz
wsbl: lbnm * mwqb
cfwz: 3
prqp: 2
bfpv: szsc * zncc
ndmg: zzjz * gftr
clqv: mzjq * wgdv
hqqq: 3
vbrv: bnvh - hwph
vlnn: sfvn * zshm
dnvf: 2
csmd: 3
bmvt: 6
rjlb: 2
tgtp: czsr + sfbs
vfpl: 13
bjlv: 11
rrzr: 3
zdtb: 5
jtls: 3
qvmp: fjgt * bjdf
qwnb: 5
qqpc: hsws * tcqh
bzjw: bpbc / mdpg
cghm: cqcm + sltf
zjnb: 2
zhvb: 3
gftr: 4
bgsb: 7
rlnh: wfjd + sptq
jbns: ddrd + sbfb
rzbf: rhrs * jltl
jvmz: sdvb * bnls
vfmq: 5
jwbd: dpql + nwfz
sbtd: ghtv * rfng
wlhz: htgs * rlgd
cdps: 5
rrrt: 4
nsbc: ljng + hmvt
tndh: 7
fddc: shth * zmpq
bppt: hdtj * jfhz
stzq: 2
btpj: 5
jvqf: lwlh + zptc
sfvd: 9
mqrz: 3
tszw: 4
jtfr: 5
pcdn: qjlc * jtns
nvpv: nbpj * jcml
frzt: 4
fwbm: ssbz * rlzb
nsmp: qmwf + hprs
trsn: qmvj * rzrq
qgfb: bvbl * mtql
pnnl: sbtd + rvgc
cwrq: 2
gfdz: mwfj + rwpn
zrnl: 3
bqvs: znts * jrtc
szmw: 10
msfh: 2
dvnf: fffb * htlp
tvvp: sdtn * vmfp
lhpv: 5
zbmf: 4
nhrv: 9
lrwh: 3
tbvn: 2
rlqb: cpdm * rmjc
ddld: 5
pwsb: cjdt * vsfg
gqtn: 8
mmvr: mpcp / rfmt
mjqf: 3
bwsf: zjdr + jqrv
smqq: jvmz + njbs
ffwb: 4
cfqb: 11
gcfz: 9
ncqq: sbrc / lfgc
ccfz: 4
rqbz: zfjr * bfhb
hpms: cvjc * mhqv
ztwn: 7
lpjf: mmgw / cvtr
plpj: 1
qsvp: wsfw + wbjv
vqdv: tgnd / bbtq
nzbw: 4
rdvb: 3
jtjz: vqqh + cwwl
hjst: 2
bsrs: 5
gzgp: 4
dqzb: 4
jtns: 2
gpws: cmnb * mgdf
cspf: jqnz * ljsq
nwfz: 1
tbwq: 2
ctbh: 2
svtc: drgd * jnns
mzhs: 5
gshc: hcpg * gnfv
jmgj: 7
sptq: 4
lcwj: chmg + rbnj
cjdt: 13
gcrt: 2
cmqg: mlgm - tzgl
zftb: 17
lznf: tsbq * vnzd
tcqh: 3
srqd: hqlm * bwjw
qbst: 3
qbqc: 3
brdc: 2
pbng: 3
pmrc: 3
cbrz: qdpp * qfgj
mtsz: jddv + bmlf
nfvh: vzsd - wlgh
ldzc: bsgt * nhbt
sjvq: hncm * dwpn
cnwz: vjng - chfv
bsjd: 4
nqlf: phjl * gvdz
ldnw: dsgw + mspm
gphf: cmsj * jtfr
hsws: 16
dgbr: 5
rtqq: 2
lngb: 2
vtdj: 2
tjcm: zsll * zhts
dhgz: lfhp + tdvr
rfvg: 8
vnnj: pjhq + ljdw
tqmn: gbrp * mqhp
pltf: 4
hfbr: 5
fclz: dlmz * mzsh
nvtp: dmlm * dhlt
hthl: 14
gsvs: mdzh * tzbw
dmtb: rrhg + zdtb
lbnm: 5
nfrw: ccjj * vnzr
jggl: ssnq * zllh
clwm: 6
hgrn: vdtg / lhpv
dnfz: 2
drbn: ctjg + cqrj
wgdv: 5
hvfl: jbbn + scdp
nlsl: 3
fhsn: dfgr * npss
vcvv: 3
sjjm: rsfj * lvnm
sfwm: 2
fszq: dpvl + bnrs
lnns: 1
jrbc: 2
rfng: bzlb + mdsh
qtbw: fbsv * vnwb
vrmr: gdrg + svws
qfgj: 5
hmzq: prnp - rqqd
hrdm: 2
hvdq: 3
mmjd: bssl - qwmq
bwhf: 1
htdb: dqbb * pfhc
rhsg: djlm + hrcd
lwgn: fvhp / bmzm
hfhg: 2
cjtq: bsgw * lvwr
rlzb: 2
nrqt: 2
lfmz: dtjq * wzpn
ftjt: wfzp * vlvm
nbws: fbld + grzb
cjqp: 5
gjvc: 3
zptc: sjsh + grlb
fqgm: nhtd * hhhw
cdjm: 2
dvfh: 2
mnbz: 5
nhsw: frqc * wvhc
zrgp: pbrj / rqdj
dsbp: dhjv + gnhl
hnqw: mvjj * nrqt
mtfr: 7
lsfb: lqdp + dwzh
ppzd: 5
hdtj: zvmz + rjmq
lpqb: vdvs + pfjh
tjtn: 3
bfcg: 2
mmqn: 3
srzw: 5
gcdb: ncmp + tvbq
wdfr: bmqw + jfvp
rmtt: jdhp * rqbz
mbjl: 5
jlbt: 2
dvlw: 2
tvzw: 3
tlnp: hdbc + rgjq
djhf: 3
nfgv: wppm + mqqc
wjrh: ztbz * fwbm
mzjq: shhj + lngb
svbz: gggd + jrch
jvtg: 5
zzmj: zmdd * prmg
hccg: vslc * hfbr
lrbm: 2
nfnq: 2
tvss: 4
qcvp: hsvm * vmcc
gdhf: 1
hfwq: 2
mdcs: mtfr * ccfp
zhts: 4
lwch: hjzp * zzmj
mbdd: bvsm * fsmj
tgnd: nqlf + gvrs
wpgc: prhc + rglt
tbcm: 10
pjhq: 18
pfjh: frzt * lznf
vmfz: bhwr / dnnm
zzzw: 2
vchg: zgtv / vdbg
nshq: lhdn + nhpg
rcmd: 11
jrct: 3
vtbh: fttn + spjq
pnhf: 3
mnzq: pcdn + cbrz
cbjn: 2
vwsj: sbqj + mvcl
pqvm: zvgl + tbsd
hznt: 4
vmfp: 4
hqhv: mrhd + dsjw
pmnb: gphf + ttqf
vrqr: mswz * sznc
sgvj: cnnp * sphp
fhfg: 6
lsqj: 9
tmft: vzql + ppmb
bmqw: 4
qtrp: 2
rjmq: 11
tcdz: 4
vnjw: srph + vrmr
hspj: 3
cdlt: hgrn + cwfg
vmjv: 13
rssp: 13
bgts: qqfr * cgqn
pdsl: dtth + fltw
vvcg: 16
tgqf: gpsg + qqgw
htgs: 9
svnd: 3
pjqr: dgqq / njjw
dmwh: 2
ctjg: qgtw * ghpb
tlgm: 17
djnz: 2
lbzt: gttb + pzhz
hprs: wlhz * hbcc
jfgc: hmsn * cnfc
tswt: 3
bcfq: 3
pzvg: dzrc + dbrf
zvdd: vhdc + zcgn
cfnc: sghg * vvlw
qlcj: 2
jqgq: wbfg * nlwt
fbtj: wcrh * rssp
mvpj: qvst * pfzj
strf: 17
znmm: qghs + mrjz
mvrq: 5
rpwf: 2
rvms: 18
nbgn: fhbz * smpm
zpzr: fvdz + zgmm
rgrg: 5
dgfg: cscs + wbrl
vwnj: 7
vdft: 2
pfvb: 2
lbrl: jnmv * qhlb
brdl: pjqr + whhf
dzjp: 2
gvrs: cmqg * bvrw
vmlt: 3
ddsf: lgsr * sqqc
ftqw: dfml * nglz
dpql: 6
hhhw: 6
mrjz: 2
qdtm: bhrr / csdl
dsjw: wnbl + nhmb
nqwh: tdql * pmqb