while''do s=io.read()n,_,p=s:find'. (.+)'t=0 for i=1,n do t=t..p:gsub('.',s:sub(i,i)..'%0 ')end print(t:sub(2,-2))end