Advent of code 2018/24
Ajax Direct

Answer

Part 1 :
Part 2 :