Tranfer Rome number into int

For example, VII =7, XI =11