Task: Program Execution
Input (English): 5, 7, ['2695', 'K', 'B', 'h', 'V', '6435', 'Q', '2881', '7385', '8941']
Output (English): Q5346V