Two unequal masses are tied together with a cord with a compressed spring in between.Which of the following energies is conserved for the system?