Task: Program Execution
Input (English): 5, 5, ['K', 'b', 'b', '8649', '3543', '1111']
Output (English): 3543