Task: Program Execution
Input (English): W, A, C, p, z, 9381, 6727, 8989, L, 879, 2427, B
Output (English): W, A, C, p, z, L, B