Task: Program Execution
Input (English): 3, ['5761', '8345', 'Z', '7741', 'G', 'F', '3125', '6957']
Output (English): 7741, G, F, 3125, 6957