A massless spring with force constant

A massless spring with force constant k = 200 N/m hangs from the ceiling. A 2.0-kg block is attached to the free end of the spring and released. If the block falls 17 cm before starting back upwards, how much work is done by friction during its descent?