Task: Program Execution
Input (English): 1, 5, ['Q', '8407', 'd', 'o', 'w', 'R', 'P', '8839', '6815', 'A', 'l', '2385']
Output (English): w, o, d, 8407, Q