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