Task: Program Execution
Input (English): 7989, 9001, 3141, B, 6461, c, w, 9637, 7999, G, 1855, 8285, x, E, Q, 9421, Q, 8415
Output (English): B, c, w, G, x, E, Q, Q, 7989, 9001, 3141, 6461, 9637, 7999, 1855, 8285, 9421, 8415