[Advent Calendar 2018] The solutions and the winner!