Task: Program Execution
Input (English): 1, 3, ['T', 'c', 'Q', 'd']
Output (English): Q, c, T