A block of mass 100 g attached to a spring of spring constant 100 N/m. The block is moved to compress the spring by 10 cm and then released on a frictionless floor as shown below. If the collisions with the wall in the front are elastic in nature, then the time period of the motion is