In the circuit shown in figure the reading of an ideal ammeter is the same with both switches open as with both closed then find the resistance R (in k ohm ).