Task: Program Execution
Input (English): 5105, a, W, Q, K, 3215, 4447, 131, K, S, 273, 3095, 8397, 5845
Output (English): a, W, Q, K, K, S