Task: Program Execution
Input (English): B, 1601, 9917, 4103, f, 3695, 2347, 5097, H, 7233, 619, 583, 5567, 4723, Y, G, a, 3299, X, Y, 8757
Output (English): B, f, H, Y, G, a, X, Y, 1601, 9917, 4103, 3695, 2347, 5097, 7233, 619, 583, 5567, 4723, 3299, 8757