Task: Program Execution
Input (English): q, U, 2523, 1279, g, 5659, S, u, t, 3085, R
Output (English): 12546