try:
import roman
t=input("Enter The roman numeral:")
print(roman.fromRoman(t))
except Exception as e:
print(e)