Task: Program Execution
Input (English): 2, 2, ['l', 'Q', 'Y', 'q']
Output (English): Q