Carter Enterprises is a soybean trading company. Once a month a representative attends a commodity sale where he either buys or sells soybeans in bulk. Carter uses a local warehouse for storing soybean inventory. The warehouse charges $\$10$ per average ton stored per month (based on the average of beginning and ending inventory each month). Carter can store up to $400$ tons in any given month in the warehouse. Over the next six months, Carter forecasters have forecasted the following soybean prices
$$ \begin{array}{c|lc} \text{Month} & 1 & 2 & 3 & 4 & 5 & 6 \\ \hline \text{price(dollar)} / \text{ton} & 135 & 110 & 150 & 175 & 130 & 145 \\ \end{array} $$
Assume Carter currently has $70$ tons stored in the warehouse. Formulate a linear programming model that tells Carter how many tons to buy and sell each month to maximize profit.