Input ← regex"\\d+" &fras "../day_06.txt"

# part one
Races ← ⍉↯2_¯1 ⊐∵⋕ Input
/×≡(/+<×⊃-∘⇡.⍘⊟) Races

# part two
Races ← ∵⋕⊐≡/⊂ ↯2_¯1 Input
/+<×⊃-∘⇡.⍘⊟ Races