Two simple theorems and their applications

What is the greatest product of $n$ numbers with some fixed sum?
What is the least sum of $n$ numbers with some fixed product?
These questions are answered, and applications are given.