The 24 Game is an arithmetical game in which the objective is to find a way to manipulate four integers so that the end result is 24. The game randomly chooses and displays four digits, each from 1 to 9 (inclusive) with repetitions allowed, the goal is for the player to enter an arithmetic expression meets the conditions below - that expression evaluates to 24 - that expression uses just those, and all of those four digits, used exactly once each. - that expression uses only allowed operations : "+" (addition) , "-" (subtraction) , "*" (multiplication) , "/" (division) , and "(", ")" (parentheses).