Advent of Code 2017-05

Mark Damon Hughes

Input:

Output: