Task: Program Execution
Input (English): w, 8127, 1485, O, 8409, 4791, 2657, 8141, G, X
Output (English): w, O, G, X