Task: Program Execution
Input (English): 4, 8, ['d', '597', 'P', '5665', 'S', '7475', 'Q', 'd']
Output (English): 5665, S, 7475, Q, d