Given four numbers n1, n2, n3, n4, return whether they can be calculated to be 24 by using only four basic arithmetic operations (addition, subtraction, multiplication, division). See also https://en.wikipedia.org/wiki/24_(puzzle).
Example 1:
- Input: n1: 6, n2: 8, n3: 2, n4: 4
- Output: true
- Explanation: (6*2)+8+4 = 24