Task: Program Execution
Input (English): 4, ['5431', '5005', '5595', 'J', '3421', 'I', '3287', 'U', 'd']
Output (English): 5431, 3421, d