Task: Program Execution
Input (English): 2, 2, ['5005', 'Q']
Output (English): Q