Task: Program Execution
Input (English): 5787, O, e, B, 4179, X, D, 2261, 1127, 4847
Output (English): 5787, 4179, 2261, 1127, 4847