Task: Program Execution
Input (English): 6, 9, ['4467', '5659', '5199', '3355', '2459', 'Z', 'F', 'z', 'K', '1771', 'G', '5799', '6171', '1121']
Output (English): ZFzK