Task: Program Execution
Input (English): 2, 3, ['N', 'n', 'C', '6879', 'A']
Output (English): n, C