Two identical conducting spheres carrying different charges attract each other with a force F when placed in air medium at a distance d apart. The spheres are brought into contact and then taken to their original positions. Now the two spheres repel each other with a force whose magnitude is equal to that of the initial attractive force. The ratio between initial charges on the spheres is