Two cells of emf E1 and E2 (E1,>E2) are connected as shown in figure. When a potentiometer is connected between A and B, the balancing length of the potentiometer wire is 300cm. When the same potentiometer is connected between A and C, the balancing length is 100cm. The ratio of E1 and E2 is