Boxcar
; Day 1: Dusty Shed
[ manifest example "
57
57
55
57
76
78
57
45
43
78
43
76
43
78
57
45
57
76
43
43
76
" ]
[ manifest puzzle [ include "input.txt" ]]
[ define ids [ train input [ ints ]]]
[ part 1
[ train ids [ tally ] [ top 3 ] [ product ]]
[ expect example 186276 ]
[ expect puzzle 20065374 ]]
[ part 2
[ train ids [ tally ] [ bottom 3 ] [ product ]]
[ expect example 193050 ]
[ expect puzzle 226130328 ]]