Solomiya wrote the numbers $1, 2, \ldots, 2024$ on the board. In one move, she can erase any two numbers $a, b$ from the board and write the sum $a+b$ instead of each of them. After some time, all the numbers on the board became equal. What is the minimum number of moves Solomiya could make to achieve this?

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