$X$ is distributed as a Poisson random variable with parameter $\lambda$ if it has the probability mass function:
$f(x; \lambda) = \dfrac{e^{-\lambda}\lambda^x}{x!},\ x = 0,1,2,\ldots$
Find the maximum-likelihood estimator for the parameter $\lambda$ based on a random sample of size $n$.
I understand the theory behind MLEs, but am not sure how to go about solving this problem. I did originally take the natural log, but wasn't sure what to do afterwards. I'm very new to this.