python3
```\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        s=sum(nums)\n        dr=goal-s\n        return math.cei
```\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        s=sum(nums)\n        dr=goal-s\n        return math.ceil(abs(dr/limit))\n\t\t
[]