Advent of Code 2017-07

Mark Damon Hughes

Input:

Output: