Task: Program Execution
Input (English): 4, 7, ['2937', '5881', '9737', '3971', 'A', 'Z', '3025', 'm', '9161', '9665', 'P', 'D', 'V']
Output (English): 3025ZA3971