Currently, there are 1990 piles of stones, with each pile consisting of stones. In each round, you are allowed to pick any number of piles and discard the same number of stones from each of the selected piles. What is the minimum number of rounds required to discard all the stones?