Task: Program Execution
Input (English): 3, ['8385', '5365', '4695', 'Z', '641', 'F', '7963', '7975', '6375', '5877']
Output (English): Z, 641, F, 7963, 7975, 6375, 5877