Task: Program Execution
Input (English): 7273, h, g, 8197, 3507, 673, B, 1589, j, b, 8253, I, U, w, F
Output (English): 7273, 8197, 3507, 673, 1589, 8253