Frogs gather on the wide road that cuts through the forest. Whenever frogs meet at the same position, they climb on top of each other and form a tower.
Frog i starts at position xi and moves exactly di forward on every jump. Each di is a prime, and a frog never jumps backwards, so frog i can only stand at xi, xi+di, xi+2di, ….
The size of the tower at position p is the number of frogs that can reach p, that is the number of indices i with xi≤p and p−xi divisible by di.
The frog king wants to present the largest tower. If several positions carry a tower of that largest size, he picks the smallest such position. Report that position and the size of the tower.