Task: Program Execution
Input (English): 8, 14, ['5871', '6409', 'p', 'H', '9985', '9901', 'E', 'x', '2301', '4967', 'q', '561', '3067', '3645', '323', '2765']
Output (English): 54637603165q76941032x