Task: Program Execution
Input (English): 3845, B, K, Z, Q, u, w, 17, 3937, 6891, 193, 5477, 9489, p, F, c
Output (English): B, K, Z, Q, u, w, p, F, c