Task: Program Execution
Input (English): 3, 6, ['A', '9351', '1143', '7525', 'q', '6663', 'X', 'F', 'G']
Output (English): 6663, q, 7525, 1143