parameters: (self, n)
return_statement: return reduce(operator.mul, A) - sum(A)
docstring: :type n: int
          :rtype: int
docstring_summary: :type n: int
          :rtype: int
docstring_tokens: : type n : int : rtype : int
function: def subtractProductAndSum(self, n):
          """
          :type n: int
          :rtype: int
          """
          A = map(int, str(n))
          return reduce(operator.mul, A) - sum(A)
function_tokens: def subtractProductAndSum ( self , n ) : A = map ( int , str ( n ) ) return reduce ( operator . mul , A ) - sum ( A )