Task: Program Execution
Input (English): 3, ['4977', '8695', 'u', '3265', '3979', 'i', 'Z', '5111', 'r', 'X']
Output (English): 4977, 3265, Z, X