Task: Program Execution
Input (English): 6, 6, ['J', 'K', 'a', 'z', '7827', '7139', 'a', 'Y', '581', 'X', '2877', '4789', '9811', '6665', 'I']
Output (English): 7139