The revenue from selling $q$ items is $R(q)=225 q-q^2$, and the total cost is $C(q)=150 + 7 q$. Write a function that gives the total profit earned, and find the quantity which maximizes the profit.

Profit $\pi(q) =$

Quantity maximizing profit $q =$