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