Task: Program Execution
Input (English): 4, 6, ['k', 'b', 't', '5167', '3621', 'V', '3487']
Output (English): 51673621V