Task: Program Execution
Input (English): 3, 7, ['9453', '4477', '5049', 'W', '3201', 'Z', '8677']
Output (English): 8677Z3201W5049