Task: Program Execution
Input (English): 2, 6, ['6293', '6321', 'D', 'Z', 'f', 'Q', '4717']
Output (English): QfZD6321