Task: Program Execution
Input (English): 3, 4, ['y', 'k', '2587', 'B']
Output (English): 2587B