Python || Simple solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nclass Solution:\n    def maxScore(self, nums: List[int]) -> int:\n        \n        def lcm(a, b):\n            return a * b // math.gcd(a, b)\n        \n        def gcd(a, b):\n            return math.gcd(a, b)\n        \n        def factor(ar):\n            if len(ar) == 0:return 0\n            lm = reduce(lcm, ar)\n            gd = reduce(gcd, ar)\n            return lm * gd\n        \n        mx = factor(nums)\n        for i in range(len(nums)):\n            ar = nums[:i] + nums[i + 1:]\n            mx = max(mx, factor(ar))\n        return mx\n            \n```
['Math', 'Python3']