Task: Program Execution
Input (English): 5, 7, ['d', 'c', 'd', '9767', '6783', 'l', 'D']
Output (English): 6783