I have a 3x3 square filled with numbers. You can select a sub-rectangle^ and I will tell you the sum of all the numbers inside that rectangle. The penalty for doing this is $10-X$, where $X$ is the area of the selected sub-rectangle. How can you find all the numbers while incurring the smallest total penalty?
^ Note the sub-rectangle can be square.