Task: Program Execution
Input (English): 4359, 8325, 9237, 1989, L, 3059, 6707, 8519, 1733, 3079, m, V, 8517, 633, v, v, c, C, W, 7845
Output (English): 4359, 8325, 9237, 1989, 12, 3059, 6707, 8519, 1733, 3079, 13, 22, 8517, 633, 22, 22, 3, 3, 23, 7845