Task: Program Execution
Input (English): 6, 24, ['2973', 'n', '9019', '3855', '1759', 'A', 'v', 'C', '8959', '6545', '3649', 'y', '1111', 'Y', '9017', '3273', 'A', '8903', 'J', '6711', '2169', '4711', 't', '3251']
Output (English): 3251t471121696711J8903A32739017Y1111y364965458959CvA