0
An S-expression is a way of writing a nested list or tree of data, which you may recognize from their use in Lisp, which uses them for source code.
An S-expression is made up of atoms, in this challenge represented by single characters, and expressions, which are written enclosed in parentheses a...