var s,t,u=readLine u="" s.map{c=>u+=c println(t.replaceFirst(u,"[$0]"))}