Boxes A nad B contain a total of 480 marbles. After 0.25 of the marbles in Box A is taken out and put in Box B, and then 0.5 of the marbles in Box B is taken out and put in A, the number of marblesin Box A becomes 3 times the number of marbles in Box B. What is the number of marbles in Box B at first?