Task: Program Execution
Input (English): 1, 2, ['t', 'Q']
Output (English): tQ