Task: Program Execution
Input (English): 2, 5, ['M', 'n', 's', 'D', '4361']
Output (English): n, s, D, 4361