Following my previous question: Lots of Gold Stacks and a Balance Scale
You are given 10 stacks, each stack consisting of N golden 10g-coins and a digital scale with perfect precision that shows exact amount of weights you put on.
You know that some stacks may have only 9 gram golden coins and you are supposed to find these stacks with only one try. The only problem here is that you do not know how many stacks and which stacks have lighter ones and you have only one chance to weigh on a digital scale.
So you have only 1 try on the digital scale, what should the minimum amount of golden coins be for each stack that guarantee to find the lighter stacks?
Note: You can take/put back any amount of coins from/to any stack.