Task: Program Execution
Input (English): 2, 5, ['d', '3609', '6847', 'Q', '1431', '419', '9343', '9905', 'u', '6553']
Output (English): 1431, Q, 6847, 3609