Task: Program Execution
Input (English): C, Q, 8745, z, 9417, i, v, 3691, Q
Output (English): 21853