KoderLabs Interview Question

Convert roman characters into numbers For Example: XI = 11