Question 126
Consider an $17 \times 42$ table of squares. We put some balls into squares. After that, for each empty square, count the number of adjacent squares with balls, and write down that number in the empty square. Find the maximum possible value of the sum of these numbers over all empty squares.