Task: Program Execution
Input (English): 4619, 6147, z, B, n, 7975, d, z, G, 6887, m, 5457
Output (English): 4619, 6147, 7975, 6887, 5457