There are two piles of coal. The weight of coal in pile A accounts for 38% of the total weight. 70 tons are transported from pile A and 142 tons from pile B. At this time, pile A is 4.8 tons less coal than pile B. How many tons were the two piles of coal originally?
有两堆煤，甲堆煤重量占总重量的38%，从甲堆运走70吨，从乙堆运走142吨，这时甲堆煤比乙堆煤少4.8吨．两堆煤原来共有多少吨？
<result>320</result>