Task: Program Execution
Input (English): 6451, I, V, k, 8815, 4889, l, P, 7045, I, X, F, 7083
Output (English): 6451, 9, 22, 11, 8815, 4889, 12, 16, 7045, 9, 24, 6, 7083