Task: Program Execution
Input (English): 2, 6, ['369', 'y', 'J', 'B', '7041', '2117', '1881', 'w', 'N']
Output (English): yJB70412117