The Advent of Code, henceforth AoC, is an Advent calendar of small logical programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
Parts 1 and part 2 of day two.
php .\console solve:part-one
php .\console solve:part-two