Question 23
Let $S$ be the set of all integers $z \gt 1$ such that for all pairs of nonnegative integers $(x, y)$ with $x \lt y \lt z,$ the remainder when $2025x$ is divided by $z$ is less than the remainder when $2025y$ is divided by $z.$ What is the sum of the elements of $S?$