Python3
Code\n\nclass Solution:\n    def maxDivScore(self, nums: List[int], divisors: List[int]) -> int:\n        cnt, ans = 0, min(divisors)\n        \n        for d i
# Code\n```\nclass Solution:\n    def maxDivScore(self, nums: List[int], divisors: List[int]) -> int:\n        cnt, ans = 0, min(divisors)\n        \n        for d in divisors:\n            c = 0\n            for n in nums:\n                if n % d == 0: c += 1\n            \n            if c > cnt: cnt, ans = c, d\n            elif c == cnt: ans = min(ans, d)\n        \n        return ans\n```
['Python3']