Advent of code 2017/4
Ajax Direct

Answer

Part 1 :
Part 2 :