Advent of Code 2017-08

Mark Damon Hughes

Input:

Output: