Task: Program Execution
Input (English): 5935, t, I, 1571, W, 9401, F, M, 8897, E, 2291, r, 5159, B, 8509, 2167, q
Output (English): 5935, 1571, 9401, 8897, 2291, 5159, 8509, 2167