puts [regsub -all "\[^\n\]" [read stdin] 0]