Bakayev E.V.

A hundred bear cubs found berries in the forest: the youngest managed to grab 1 berry, the next older cub - 2 berries, the following one - 4 berries, and so on, with the oldest getting \(2^{99}\) berries. The fox suggested they divide the berries "fairly." She can approach two bear cubs and distribute their berries equally between them, and if there is an extra berry, the fox eats it. She continues these actions until all the bear cubs have the same number of berries. What is the maximum number of berries the fox can eat?
See the solution of problem $\underline{65864}$.

## Answer

$2^{100}-101$.