Task: Program Execution
Input (English): Z, 3107, O, w, f, 3193, 7031, 6979, f, b, 4905, 2599, p, 4367, 2131, u, a, 2907, 3857, 5663, 3401, C
Output (English): Z, O, w, f, f, b, p, u, a, C, 3107, 3193, 7031, 6979, 4905, 2599, 4367, 2131, 2907, 3857, 5663, 3401