Task: Program Execution
Input (English): 2485, Q, G, 5533, Y, 21, D, S
Output (English): 8039