Task: Program Execution
Input (English): 4691, 9555, y, 3707, 2997, f, 3829, 9585, K, 1797, S
Output (English): 4691, 9555, 3707, 2997, 3829, 9585, 1797