Task: Program Execution
Input (English): 5417, 9261, V, 4343, G, 8849, R, 9851, 8351, X, 6917, M, C, A, 9365, 3277
Output (English): 65631