Task: Program Execution
Input (English): L, V, 2109, 2195, C, n, d, 6587, 8981, x, 4495, v, 215, 8505, 9885
Output (English): 1, 2, 5, 6, 7, 10, 12