The ratio of the number of marbles in Box A to that in Box B is 3:5 Box A has 10 fewer marbles than Box B. How many marbles are there altogether?