Sophia is playing the following game: she chooses a whole number, and then she writes down the product of all the numbers from \(1\) up to the number she chose. For example, if she chooses \(5\), then she writes down \(1\times 2 \times 3 \times 4 \times 5\). What is the smallest number she can choose for her game, such that the result she gets in the end is divisible by \(2024\)?