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