for w in raw_input().split('0'):print''.join([chr(int(l[0])*3+90+len(l)+int(int(l[0])>7))for l in w.split('1')if l<>'']),