Find positive integers $n$ and $a_{1}, a_{2}, \ldots, a_{n}$ such that
$$
a_{1}+a_{2}+\cdots+a_{n}=1979
$$
and the product $a_{1} a_{2} \cdots a_{n}$ is as large as possible.

Let's think step by step and output the final answer within \boxed{}.
user