Task: Program Execution
Input (English): 6707, A, G, o, S, 2731, Z, 8891, E, P, D, e, u, 7975, 1295, S, 6125, I, 291, y, r, 2365
Output (English): 6707, 2731, 8891, 7975, 1295, 6125, 291, 2365