Task: Program Execution
Input (English): 3, ['1383', '5635', '4477', '2361', '1199', '129', 'U']
Output (English): 1383, 5635, 4477