Task: Program Execution
Input (English): 8779, 4371, Y, f, 7341, N, 3029, z, s, 5295, 6453, 8711
Output (English): 8779, 4371, 7341, 3029, 5295, 6453, 8711