The resistance of all the wires between any two adjacent dots is R . The equivalent resistance between A and B as shown in figure is