Task: Program Execution
Input (English): 4617, H, 1037, B, f, U, 5823, F, 687, 3235, 8473, f, 2905
Output (English): 4617, 1037, 5823, 687, 3235, 8473, 2905