Task: Program Execution
Input (English): D, Q, 5875, 8345, 4847, C, f, B, d, O, N
Output (English): 5875, 8345, 4847