Advent of code 2019/10
Ajax Direct

Answer

Part 1 :
Part 2 :