Is there a way to Solve this question with combinations?- from various quant problems list

How is it possible to solve this question without brute forcing

This is just the Monty Python problem and is not designed to be solved with raw combinatorics.