Task: Program Execution
Input (English): 4, 4, ['5925', 'N', '2211', 'D']
Output (English): D