Task: Program Execution
Input (English): 1, 2, ['D', 'A']
Output (English): AD