Collect a number with a red square (Use arrow keys): if the number is less than a square next occurrence of the number in the square will be the sum of these two numbers and, if not more, in the square will be the difference between these numbers. If the numbers are equal, the square is empty. Take all the numbers from the field.