Task: Program Execution
Input (English): q, O, 8071, V, 6563, W, 9887, T, 9823, R
Output (English): 34344