"#{a,*b,c=*$<;puts a,b.map{a},(c.rstrip+?a*99)[0..a=~/T/]}";;