give s p=substr(s,"T")while p{give t?s q=substr(t,"K")if q{?copy(" ",q-1)+copy("1",p-q+1)p=0}}