Advent of code 2017/15
Ajax Direct

Answer

Part 1 :
Part 2 :