This is a math problem
Step by step math is given in the comment.\nJumbo Burger: x\nSmall Burger: y\npython\nclass Solution:\n    def numOfBurgers(self, tomatoSlices: int, cheeseSlice
Step by step math is given in the comment.\nJumbo Burger: x\nSmall Burger: y\n```python\nclass Solution:\n    def numOfBurgers(self, tomatoSlices: int, cheeseSlices: int) -> List[int]:\n        # from problem desctiption  4x + 2y = tomatoSlices      (1)\n        # from problem desctiption  x + y = cheeseSlices        (2)\n        # from (2)         y = cheeseSlices - x                 (3)\n        # from (1)(3)      4x + 2(cheeseSlices-x) = tomatoSlices(4)\n        # from (4)         2x =tomatoSlices -2cheeseSlices      (5)\n        # from (5)         x = tomatoSlices/2 -cheeseSlices\n        if tomatoSlices%2!=0:return []\n        x =tomatoSlices//2 -cheeseSlices\n        y = cheeseSlices-x\n        if x<0 or y<0:return []\n        return [x, y]\n```
[]