2 Stage 2🔗

The answer to Stage 1 was 159.

Add division and subtraction to your list of operations. Again, you have three cards of each operation.

Problem: Determine how many different configurations have the value 24, this time permitting all four arithmetic operations. Implement a function with the signature

how-many-24-5-4 :: () -> Number

that when applied to no inputs computes the number of these configurations.