python 2 line
```\nclass Solution(object):\n    def subtractProductAndSum(self, n):\n        lis=map(int,list(str(n)))\n        return reduce(lambda x,y:x*y,lis)-sum(lis)\n  
```\nclass Solution(object):\n    def subtractProductAndSum(self, n):\n        lis=map(int,list(str(n)))\n        return reduce(lambda x,y:x*y,lis)-sum(lis)\n        \n        \n
[]