Here you can configure application settings:

This is a task that requires fast and accurate calculation.

You are given a target number and 5 different digits.

The goal is to get the target number by performing basic arithmetic operations (+, -, *, /) using all 5 digits. If you can't get a target number, try to get a number as close to the target number as possible.

In the blank field you need to enter an arithmetic expression whose final result will be equal to or as close as possible to the target number.

The rules of this task are as follows:

• You must use all 5 digits.
• You may use each digit only once.
• You can use basic arithmetic operations (+, -, *, /) in any combinations you want.

The result of the entered arithmetic expression must be an integer.

Note: The precedence of operators determines the order they are applied when evaluating an expression. You can override the precedent operator by using parentheses.

For example if digits 2,3,4,5,6 are given:

Correct examples:

• 2 * 4 * 6 * 5 - 3
• (4 + 3 - 5) * 6 / 2

Invalid examples:

• ((2 * 3 + 4) * 2 - 6) * 5 (digit 2 was used more than once)
• (5 + 3) * 6 / 2 (digit 4 not used)

You can check the entered arithmetic expression by clicking the Check button. To move on to the next task, click the right arrow button. Warning: It is not possible to return to the previous task.

A calculator that automatically calculates the value of the entered arithmetic expression is included, which makes it easier to find the optimal solution. You can turn this setting off in the options.

As this is a demo task, you can see the most accurate solutions generated by the computer. You can turn this setting off in the options.