Title: Interaction of shock and rare-faction waves in one-dimensional media