Advent 2017 challenge