Task: Program Execution
Input (English): 3, 4, ['W', 'm', '8391', '983', '7467', 'P', '1559']
Output (English): 8391983