Three charges Q, +q and +q are placed at the vertices of a right angled isosceles triangle as shown. The net electrostatic energy of the configuration is zero if Q is equal to (IIT-JEE 2000)