Inserting Start/Stop Commaned at End Points of Curve

I am trying to use concantenate in Grasshopper to recreate a kind of CNC process. I would like to insert the text S0 at the start point of a curve and S1 at the end point of a curve. Does anyone know how to do this?
StartEnd_Concantenate.3dm (41.7 KB) (9.8 KB)

Hey Adam,

Does something like this work? (22.6 KB)

*I separated the already-concatenated list you had and just changed the first and last items to S0 and S1 addresses instead of the G1 but I’m guessing you could separate list before concatenating.