Question d’entretien chez Delmatic

Solve example problem from the past Advent of Code.