Task: Program Execution
Input (English): 6, 10, ['4267', '3615', 'W', 'V', 'M', 'e', 'l', 'm', 'f', 'd', 'v', 'H', '3933', '2377', 'R']
Output (English): elmfd