Two cells of equal emf and of internal resistances r1 and r2(r1>r2) are connected in series. On connecting this combination to an external resistance R, it is observed that the potential difference across the first cell becomes zero. The value of R will be.