Initially the spheres A and B are at potential VA and VB. The potential of sphere A when sphere B is earthed is