Task: Program Execution
Input (English): 3, ['3547', '1951', '3311', 'T', '2865', 'I', 'M', 'J', '6699']
Output (English): 3547, 1951, 3311