There are three bags B1, B2, and B3 containing 2 red & 3 white, 5 red & 5 white, 3 red & 2 white balls respectively. A ball is drawn from bag B1 and placed in B2. Then a ball is drawn from bag B2 and placed in B3. Then a ball is drawn from bag B3. The number of ways in which this process can be completed, if same colour balls are used in the first and the second transfers is (assuming all balls are different)