Help solve, I can not understand the problem. Or explain how to solve it:
Given the text of capital Latin letters, followed by a space. Determine whether this text is a correct entry in Roman numerals of an integer from 1 to 999, and if so, then print this number in Arabic numerals.