Your landscaping company has teams of workers. When a job involves mowing and pruning, half of the team mow and the other half prune.
For each worker of a team, you know how much profit they will make if they mow, and how much they make when they prune.
For instance, suppose there were four workers in a team and the profits for assigning each to mowing or pruning were:
\begin{array}{l|c|c|c|c}
\textbf{Worker}&\textbf{1}&\textbf{2}&\textbf{3}&\textbf{4} \\
\hline\text{Mowing}&5&2&6&5 \\
\text{Pruning}&3&4&3&5 \\
\end{array}
The most profit made would be \($20\), by assigning the first and third workers to mowing and the other two to pruning.
For the following team:
\begin{array}{l|c|c|c|c}
\textbf{Worker}&\textbf{1}&\textbf{2}&\textbf{3}&\textbf{4}&\textbf{5}&\textbf{6}&\textbf{7}&\textbf{8}&\textbf{9}&\textbf{10} \\
\hline\text{Mowing}&2&3&4&5&4&1&4&2&3&4 \\
\text{Pruning}&3&3&3&4&5&2&6&3&5&4 \\
\end{array}
What is the most profit you could make if half of the team was assigned to mowing and the remainder to pruning?