Colored beads

there were 198 blue beads in Box A and 219 Pink beads in Box B. some green beads were added to Box A and some yellow beads were added to Box B. for every 3 blue beads in Box A, 13 green once were added to Box A as s result, Box A had 4 times as many beads as Box B. how many yellow beads were added to Box B?

Number of green beads added to box A
      = (198/3) × 13 = 858
 

Total number of beads in box A (blue beads + green beads)
      = 858 + 198 = 1,056
 

Number of beads in box B (pink beads + yellow beads)
      = 1,056/4 = 264
 

Number of yellow beads added to box B
      = 264 - 219 = 45   ←   answer