Task: Program Execution
Input (English): 3149, S, k, 1523, 7605, O, 335, 5673, 5729, 9017, v, 7203, 5797, p, N
Output (English): 3149, 1523, 7605, 335, 5673, 5729, 9017, 7203, 5797