Task: Program Execution
Input (English): 2, ['2371', 'Z', '1505', '3443', 'y', 'D', '3507']
Output (English): 2371, Z, 1505, 3443, y