Distance between the spheres, A and B, r = 0.5 m
Initially, the charge on each sphere, q = 6.5 × 10−7 C
When sphere A is touched with an uncharged sphere C, q/2 amount of charge from A will transfer to sphere C. Hence, charge on each of the spheres, A and C, is q/2.
When sphere C with charge q/2 is brought in contact with sphere B with charge q, total charges on the system will divide into two equal halves given as,

Hence, charge on each of the spheres, C and B, is 3q/4.
Force of repulsion between sphere A having charge q/2 and sphere B having charge 3q/4 is

Therefore, the force of attraction between the two spheres is 5.703 × 10−3 N