Task: Program Execution
Input (English): b, 2831, a, w, 2877
Output (English): b, a, w