Task: Program Execution
Input (English): 4, 8, ['R', '9783', 'A', 'D', 'L', '3511', '3715', 'A', 'z', 'i', 'l']
Output (English): A51731153LD