A mass of 337 g connected to a light spring of force constant 19.4 N/m oscillates on a horizontal, frictionless track. The amplitude of the motion is 5.4 cm.

Calculate the total energy of the system. Answer in units of J.