puts$<.reduce{|s,i|i=~/ /;s.tr [$',$`]*'',i}