## Task 2.

Let $a \geqslant 2018$ be a real number. In each of 2018 jars, there is a finite number of balls, with the mass of each ball being of the form $a^{k}$, where $k \in \mathbb{Z}$. The total mass of the balls in each jar is the same. What is the minimum number of balls of the same mass among the balls in the jars?