Python| Easy
```\nclass Solution:\n    def minNumberOfHours(self, initialEnergy: int, initialExperience: int, energy: List[int], experience: List[int]) -> int:\n        need
```\nclass Solution:\n    def minNumberOfHours(self, initialEnergy: int, initialExperience: int, energy: List[int], experience: List[int]) -> int:\n        need = 0\n        for i in range(len(energy)):\n            if initialExperience <= experience[i]:\n                need += experience[i] + 1 - initialExperience\n                initialExperience = experience[i] + 1 \n            initialExperience += experience[i]\n            initialEnergy -= energy[i]\n        if initialEnergy <= 0:\n            need -= initialEnergy - 1\n        return need
[]