Task: Program Execution
Input (English): 5117, R, d, 6785, 8825, r, 2879, b, v, V, v, 1885, 3183, 2845, z, 2101, o, V, z, 745
Output (English): 11