Convert Roman Into Integer

Write a Roman number. Ex) VII, XIX, XC, CM, IV, MCMIV.

Output ...