Task: Program Execution
Input (English): 4181, L, 2533, b, 8379, 8717, 7207, 8159, x, 4733, 3787, M, v, 5383, X, E, 549, X, 2503, d, y, 2057
Output (English): 12