Task: Program Execution
Input (English): 5, 6, ['e', 'T', 'w', 'K', 'D', 'l', 'S']
Output (English): l, D