Task: Program Execution
Input (English): 8, 12, ['P', 'r', 'c', 'x', 'P', '4043', 's', 'J', '7651', '1007', 'd', 'K', '7395', '1991', '4343', '6879', '7045', '1931']
Output (English): Kd70011567J