I'm unreasonably content with this solution for #AdventOfCode day 2. #AoC