Task: Program Execution
Input (English): 4, 4, ['8453', 'f', 'z', '8123', '3361', 'Z']
Output (English): 8123