Python3 Solution
\n\nclass Solution:\n    def maxDivScore(self, nums: List[int], divisors: List[int]) -> int:\n        ans=-1\n        most=-1\n        for d in divisors:\n     
\n```\nclass Solution:\n    def maxDivScore(self, nums: List[int], divisors: List[int]) -> int:\n        ans=-1\n        most=-1\n        for d in divisors:\n            cnt=sum(1 for n in nums if n%d==0)\n            if cnt>most or cnt==most and d<ans:\n                ans=d\n                most=cnt\n\n        return ans        \n```
['Python', 'Python3']