$385$
39. The mathematician Gauss, while studying integer problems, invented the floor function $[x]$, which represents the greatest integer not exceeding $x$. For example, $[1]=1,[2.02]=2$. He once posed the following problem:
“Given $m$ integers: $\left[\frac{2019+1}{1}\right],\left[\frac{2019+2}{2}\right],\left[\frac{2019+3}{3}\right], \cdots \cdots,\left[\frac{2019+m}{m}\right]$, these $m$ integers have 79 different values. What is the sum of the maximum and minimum values of $m$?” The answer to this problem is . $\qquad$