Task: Program Execution
Input (English): 10, 12, ['K', '5691', 'd', 'm', '3865', 'I', 'q', 'R', 'f', 'm', 'V', 'W', 'c', 'm', 'M', '9773', '7329', '2285', '7799', 'm', '2187', 'z']
Output (English): WVm