val s=readLine print(".( ?)".r.replaceAllIn(s,m=>(m.after+s)(0)+"$1"))