Task: Program Execution
Input (English): 5873, 973, 4657, q, 1077, 365, 9361, K, 8603, 3479, S, C, 3515, z, 1487, 4085, 4665, 3719, V, 785
Output (English): 6