Task: Program Execution
Input (English): 3, ['E', 'M', 'C', 'E', 'W', 'K', '3081']
Output (English): E, M, C, E