Task: Program Execution
Input (English): o, 1883, 5069, 9951, Q, x, x, c, 9689, i, e, 4311
Output (English): 30903