Suppose that the data consists of only one result $X$. It has the probability mass function $f_X(x)=\mathbb{P}\left(X=x \right)$. $f_X(x)$ depends on a parameter $\theta$ which is to be estimated. $\theta$ can have only discrete values, for example $1, 2 \ \mathrm{and} \ 3 $.
The likelihood function is $\mathcal{L}\left( \theta; X \right)$. The estimate for $\theta$ is such that it maximizes $\mathcal{L}$. How is the estimate chosen if (for example) $\theta=1 \ \mathrm{and} \ \theta=2 $ both maximize the likelihood function?
The MLE is not necessarily unique, hence if for a certain probability mass function both $\theta=1$ and $\theta = 2$ maximize the likelihood function, then their both are the MLEs, and it does not matter which one you take.