Surely easy challenge, the array length is a big hint of what to do, it’s not hard to code a script to make the boring part for you
No bruteforce needed, the solution is under your nose
If someone in 2023 don’t know where to go and is afraid to ask people who posted in 2021 for it being an old one, R is here