The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.
Input
VII XLIX CXX MCMXCII MMMDCCCLXXXVIII MMXV .
Output
7 49 120 1992 3888 2015