Advent of code 2022/7
Ajax Direct

Answer

Part 1 :
Part 2 :