(print((rec,l(if(eq?()l)"0"#`"{,(string-join(map . ,l)\", \")}"))(fold(^,l(fold(^(b\)(fold(^(d c)`(,@c(,@d,b)))\\))'(())l))()(make-list(read)))))