Task: Program Execution
Input (English): 5, 7, ['K', 'T', '1767', 'i', 'v', '1253', '3975', '3465']
Output (English): 39751253v