Task: Program Execution
Input (English): A, F, 9987, G, n, Z, 8423, 7439, b
Output (English): A, F, G, n, Z, b