Task: Program Execution
Input (English): 2, 3, ['T', 'T', 'E', '179', 'Q', '3111', 'Q', '8661', 'C']
Output (English): E, T