The numbers 1, 2, ... , 10 are to be entered into the 10 boxes shown below, so that each number is used exactly once:
P=(◻+◻+◻+◻+◻)(◻+◻+◻+◻+◻).
What is the maximum value of P? What is the minimum value of P?
The maximum value is 274, and the minimum value is 60.