Task: Program Execution
Input (English): 2, 7, ['6017', '9287', 'g', 'C', 'N', '105', '723', 'V']
Output (English): 327501NCg7829