Two springs A and B (kA = 2kB) are stretched by applying forces of equal magnitudes at the four ends. If the energy stored in A is E, that in B is