Task: Program Execution
Input (English): 3417, 9631, p, 3569, v, 6453, 7303, w, F
Output (English): 3417, 9631, 3569, 6453, 7303