Weights with their masses written on them are placed on the pans of an equal-armed balance as shown in the figure, balancing the scale.
When one of the weights given below is added to pan B of the scale and one of the weights on pan B is transferred to pan A, the scale remains balanced again.
Accordingly, how many grams is the weight added to pan B during this operation?
A) 10\\
B) 15\\
C) 30\\
D) 35\\
E) 40