Task: Program Execution
Input (English): 3, 4, ['D', 'k', 'Q', '3207']
Output (English): 3207Q