Task: Program Execution
Input (English): 5, 7, ['h', 'e', '2669', '657', '4091', 'X', 'W', 'P', 'B']
Output (English): WX1904