Task: Program Execution
Input (English): 8469, L, 7107, 317, R, 7613, 7957, h, z, T, 5695, 5457, 2765, 1781, 4053, K, 7323, 6903, Q, 6159, p, 9089, 7787, 6677
Output (English): L, R, h, z, T, K, Q, p