Task: Program Execution
Input (English): 4189, 3185, M, 4175, V, 1279, X, 3677, 4725, c, 5553, D, 2769
Output (English): 29552