Task: Program Execution
Input (English): 7, 8, ['K', '6697', 'v', '5837', '9189', 'S', '7709', 'T']
Output (English): T9077