Two steel shaft each of length L and outside diameter D are subjected to uniform torsion. The first shaft is solid while the second one is hollow with inside diameter D/2. The ratio of the strain energies that these two shafts can absorb without exceeding a maximum allowable shear stress, would be