The numbers $1,$ $2,$ $\dots,$ $10$ are to be entered into the 10 boxes shown below, so that each number is used exactly once:
\[P = (\square + \square + \square + \square + \square)(\square + \square + \square + \square + \square).\]
What is the maximum value of $P$? What is the minimum value of $P$?
PLEASE no one pretend to be me! :(
Thank you so so so much in advance!!!