Task: Program Execution
Input (English): 2, 5, ['Z', 'X', 'K', '8555', 'B', '3245', '6737', 'c', 'X', '8797', 'x', 'p', 'B', 'M', '7283', '8483']
Output (English): B8555KX