Task: Program Execution
Input (English): 1, 1, ['D', 'n', 'J', 'N']
Output (English): D, n, J, N