Task: Program Execution
Input (English): 8, 10, ['6413', 'w', 'c', '4257', 'X', 'B', '8341', '2147', 'y', 'B']
Output (English): By2147