easy way using if/elif💯💯
\n\n# Code\n\nclass Solution:\n    def lemonadeChange(self, bills: List[int]) -> bool:\n        fives= 0 \n        tens = 0 \n        for i in bills:\n         
\n\n# Code\n```\nclass Solution:\n    def lemonadeChange(self, bills: List[int]) -> bool:\n        fives= 0 \n        tens = 0 \n        for i in bills:\n            if(i==5):\n                fives+=1 \n            elif(i==10):\n                tens+=1 \n                if(fives>0):\n                    fives-= 1 \n                else:\n                    return False\n            else:\n                if(tens>0 and fives>0):\n                    tens-=1 \n                    fives-=1 \n                elif(fives>2):\n                    fives-=3\n                else:\n                    return False\n        return True\n```
['Python3']