For any positive integer $M$, the notation $M!$ denotes the product of the integers $1$ through $M$. What is the largest integer $n$ for which $5^n$ is a factor of the sum $98!+99!+100!$? Find the value of $n$.

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