Task: Program Execution
Input (English): 5729, R, 2705, C, V, 4985
Output (English): 3