Fastest and Easy to Understand 7 line code
\nclass Solution:\n    def fillCups(self, amount: List[int]) -> int:\n        time = 0\n        \n        while amount!= [0,0,0]:\n            amount.sort()\n  
```\nclass Solution:\n    def fillCups(self, amount: List[int]) -> int:\n        time = 0\n        \n        while amount!= [0,0,0]:\n            amount.sort()\n            if amount[-1] > 0:\n                amount[-1] -=1\n            if amount[-2] >0:\n                amount[-2] -=1\n            \n            time+=1\n            \n        return(time)\n```
['Python']