Task: Program Execution
Input (English): M, W, j, G, 2413, 3273, 7435, B, 265, 7289, L, 1217, F, 6479, 1653, O, z
Output (English): M, W, j, G, B, L, F, O, z