Task: Program Execution
Input (English): 4845, 1141, N, 5713, 5577, F, 4481, S, 223, x, 5439, 4321, 325, Z, G, 7423
Output (English): 4845, 1141, 5713, 5577, 4481, 223, 5439, 4321, 325, 7423