f=lambda e:"(".join(e)+")"*~-len(e)print f("Nest")
Standard input is empty
N(e(s(t)))
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!