Task: Program Execution
Input (English): 1, 1, ['D', 'q']
Output (English): D