It is known that the product of n natural numbers is 2007, and the sum of these n natural numbers is also 2007. What is the maximum value of N? And to explain the text and formula, must be detailed

It is known that the product of n natural numbers is 2007, and the sum of these n natural numbers is also 2007. What is the maximum value of N? And to explain the text and formula, must be detailed

2007 = 223 * 3 * 3 * 1 * 1 * obviously, if we don't include factor 1, we can't satisfy the condition. Moreover, if we have as many factor 1 as possible, we can make n as large as possible