Task: Program Execution
Input (English): 2, 3, ['b', '5615', 'n', '6147', 'W']
Output (English): n5615