[PYTHON] 134 ms (faster than 97.89%) 14.4 mb (less than 95.26) Easy Solution
Runtime: 134ms\nMemory Usage: 14.4mb\n\n```py\nclass ParkingSystem:\n\n    def init(self, big: int, medium: int, small: int):\n        self.big, self.medium, se
Runtime: 134ms\nMemory Usage: 14.4mb\n\n```py\nclass ParkingSystem:\n\n    def __init__(self, big: int, medium: int, small: int):\n        self.big, self.medium, self.small = big, medium, small\n\n    def addCar(self, carType: int) -> bool:\n        if carType == 1 and self.big > 0:\n                self.big -= 1\n                return True\n        elif carType == 2 and self.medium > 0:\n                self.medium -= 1\n                return True\n        elif carType == 3 and self.small > 0:\n                self.small -= 1\n                return True\n        else:\n            return False
['Python', 'Python3']