p
(x:r
)|(a
,b
)<-p r
=case x
of '('->("(\\x->"++a
++(fst(p b
)),"");
'.'->('(':a
++")",b
);
')'->(" x)",r
);
_->(x:a
,b
)p _=("","")
bWFpbiA9IGludGVyYWN0IGYKCnAoeDpyKXwoYSxiKTwtcCByPWNhc2UgeCBvZiAnKCctPigiKFxceC0+IisrYSsrKGZzdChwIGIpKSwiIik7Jy4nLT4oJygnOmErKyIpIixiKTsnKSctPigiIHgpIixyKTtfLT4oeDphLGIpCnAgXz0oIiIsIiIpCmYgcz1mc3QocCgnKCc6cysrIikiKSk=