How to create letter "S " with procedural nodes?

i create part by part . like top of the s first than middle part of s.

it doesn’t look very professional.

is there any better way to do it?letter A