A block of mass 100 g attached to a spring of spring constant 100 Nm−1 is lying on a frictionless floor as shown. The block is moved to compress the spring by 10 cm and then released. If the collisions with the wall in front are elastiac, then the time period of the motion is