Task: Program Execution
Input (English): F, S, 7837, 5873, 4283, 1667, 2535, 3861, 3841, q, v, 9505, 453, E
Output (English): F, S, q, v, E, 7837, 5873, 4283, 1667, 2535, 3861, 3841, 9505, 453