[Java] Faster than 99.87% very simple and clear solution
\nclass ParkingSystem {\n    private int[] space = new int[3];\n    public ParkingSystem(int big, int medium, int small) {\n        space[0] = big;\n        spa
```\nclass ParkingSystem {\n    private int[] space = new int[3];\n    public ParkingSystem(int big, int medium, int small) {\n        space[0] = big;\n        space[1] = medium;\n        space[2] = small;\n    }\n    \n    public boolean addCar(int carType) {\n        if(space[carType-1] - 1 < 0){\n            return false;\n        }\n        space[carType-1]--;\n        return true;\n        }\n    }\n```
['Java']