Task: Program Execution
Input (English): 2, ['8937', '5031', '2833', 'U', '3967', '4839', 'I']
Output (English): 8937, 5031