Task: Program Execution
Input (English): 1, 9, ['7645', '2147', '4055', 'X', 'w', 'm', 'H', 'K', 'K', '1243', '7109']
Output (English): KKHmwX405521477645