Task: Program Execution
Input (English): 3757, L, Z, 4181, C, 9735, 4579, 5767, 2277, A, 4777, 505, 9183, 7545, R, l, v, M
Output (English): 10