Task: Program Execution
Input (English): 4847, Q, 3273, I, 2269, 4865, 6897, 1025, 8909, 4333, 9423
Output (English): 45841