Task: Program Execution
Input (English): 9701, 2351, 2923, q, x, 7863, X, 4363, S, V
Output (English): 27201