Enquero interview question

Convert string to its number notation following its mapping.