puts [regsub -all {[^ ]} [read stdin] 0]