[Java] Straight-Forward
```\nclass ParkingSystem {\n    static int[] parking;\n    public ParkingSystem(int big, int medium, int small) {\n        parking = new int[] {big, medium, sma
```\nclass ParkingSystem {\n    static int[] parking;\n    public ParkingSystem(int big, int medium, int small) {\n        parking = new int[] {big, medium, small};\n    }\n    \n    public boolean addCar(int carType) {\n        if(parking[carType - 1] > 0) {\n            parking[carType - 1]--;\n            return true;\n        }\n        return false;\n    }\n}
[]