[Python] 5 lines simple brute force
\nclass Solution:\n    def maxScore(self, nums: List[int]) -> int:\n        m = lcm(*nums)*gcd(*nums)\n\n        for i in range(len(nums)):\n            a = num
```\nclass Solution:\n    def maxScore(self, nums: List[int]) -> int:\n        m = lcm(*nums)*gcd(*nums)\n\n        for i in range(len(nums)):\n            a = nums[:i] + nums[i+1:]\n            m = max(m, lcm(*a)*gcd(*a))\n        \n        return m\n```
['Math', 'Python']