Task: Program Execution
Input (English): 8017, f, B, L, 5717, s, 9689, 4901, f, 3387, 229, 5871, x, 8223, X, 181, q, 2133, Z, 297
Output (English): f, B, L, s, f, x, X, q, Z