Task: Program Execution
Input (English): 5, 5, ['K', 'r', '4343', 'Z', '7285', '8701', 'V', '1475', 'T']
Output (English): 7285