Task: Program Execution
Input (English): R, 1795, 4497, 4603, I, 5901, 6853, V, 1139, A, O
Output (English): 6