print(readline().replace(/(\d)\1*1/g,function(s,c)String.fromCharCode(+c?89+3*c+s[-1]+c/8:32)))