Task: Program Execution
Input (English): 2, ['N', 'R', '1013', '7769', 'C', '1041']
Output (English): N, R