for(c<-","*7;a=readLine.replaceAll("%.","$0\\$s")split c)printf(a(0)+' ',a.tail:_*)