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