Task: Program Execution
Input (English): 1, 3, ['Q', 'D', '6839']
Output (English): 6839DQ