There are three kinds of goods A, B, and C. If you buy five pieces of A, seven pieces of B, and one piece of C, the total cost is 870 yuan. If you buy 5 pieces of A, 3 pieces of B, and 9 pieces of C, the total cost is 1230 yuan; how much is the total cost for each of A, B, and C?
有甲，乙，丙三种货物，若买五件甲，七件乙，一件丙共需870元．若买5件甲，3件乙，九件丙共需1230元；则甲、乙、丙各买一件共需多少钱？
<gadget id="calculator">870 + 1_230</gadget>
<output>2_100</output>

<gadget id="calculator">5 + 5</gadget>
<output>10</output>

<gadget id="calculator">2_100 / 10</gadget>
<output>210</output>

<result>210</result>