At a real estate​ agency, an agent sold a house for ​$343,000. The commission rate is5.5 ​% for the real estate agency and the commission rate for the agent is 25% of the amount the real estate agency gets. How much did the agency make on the​ house?