human
Find minimum sum of factors of number | To find minimum sum of product of number.
Find factors of number and add to the sum.
Return sum of numbers having minimum product.
Driver Code"
Solution in Python:
assistant
#Here is code to find minimum sum of factors of number and the other steps required.
 def findMinSum ( num ) :
	sum = 0
	i = 2
	while ( i * i <= num ) :
		while ( num % i == 0 ) :
			sum += i
			num /= i
		i += 1
	sum += num
	return sum
num = 12
print findMinSum ( num )