Advent of Code 2017-06

Mark Damon Hughes

Input:

Output: