Task: Program Execution
Input (English): 3, ['2783', '4989', '8367', 'I', '7477', 'C', 'p', '971', '7947', '5885', '9141', '9019', 'T', '3307']
Output (English): 2783, 4989, 8367