Task: Program Execution
Input (English): 3, 5, ['3491', 'x', '5477', '8277', '3931', '9995']
Output (English): 139377287745