Two trains, train A and train B,weigh a total of 240 tons. Train A is heavier than train B. The difference of their weights is 70 tons. What is the weight of each train?