Two identical uncharged conducting spheres of mass 0.5g are suspended from the same point by insulating threads of length 20cm. When a charged glass rod touches them simultaneously, they acquire equal charges and repel each other to a distance of 6cm. Calculate the total charge initially transferred by the rod to the system.