Simple Math
\n# Code\n\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int tomatoSlices, int cheeseSlices) {\n        vector<int>ans;\n        if(tomatoSlices%2==1
\n# Code\n```\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int tomatoSlices, int cheeseSlices) {\n        vector<int>ans;\n        if(tomatoSlices%2==1) return ans;\n        else\n        {\n            if(cheeseSlices>=ceil(1.0*tomatoSlices/4)&& cheeseSlices<=tomatoSlices/2)\n            {\n                int jumbo=((tomatoSlices/2) -cheeseSlices);\n                int small=cheeseSlices-jumbo;\n                ans.push_back(jumbo);\n                ans.push_back(small);\n            } \n        }\n        return ans;\n    }\n};\n```
['Math', 'C++']