Task: Program Execution
Input (English): 2, 5, ['H', 'm', '9471', '2955', 'b', 'E', '7267']
Output (English): b55921749m