Task: Program Execution
Input (English): 1, 1, ['w', 'Q']
Output (English): w