Task: Program Execution
Input (English): 3, 4, ['3701', '627', '8855', 'g', 'c', 'K', 'K', '299', 'A']
Output (English): g8855