Task: Program Execution
Input (English): w, 8131, a, 7883, 7543, 9251, 3697, M, 5911, 1189, 6639, m, E
Output (English): 8131, 7883, 7543, 9251, 3697, 5911, 1189, 6639