Task: Program Execution
Input (English): 3389, 2729, k, 269, 7923, 6927, Z, Q, k, k, 257, 7153, I, 3131
Output (English): 3389, 2729, 269, 7923, 6927, 257, 7153, 3131