Task: Program Execution
Input (English): 3, 6, ['3151', 'I', '8517', '9705', '1435', '8757']
Output (English): 7578534150797158