The current must be preserved. Therefore there must be 20 mA always flowing to the right. From this it follows that the current in B is 20 mA.

Using the same reasoning now what is the current in A?

Proceed