Task: Program Execution
Input (English): 2, ['7431', '2785', '8315', 'U']
Output (English): 7431, 2785