Task: Program Execution
Input (English): 9049, S, W, x, j, 5879, X, 1533, u, 2265, 4827, G
Output (English): 9049, 5879, 1533, 2265, 4827