var line=readline()
var str=''
str=line.replace(/[0-9]+/g,word=>'*'+word+'*')
console.log(str)