Problem:
Ten cups lie upside down in a line. It is known that pennies lie under two of the cups which are consecutive in the line. Choosing several of the cups, you may ask for the total number of coins under them. Is it possible to determine the positions of the pennies by asking two such questions, without knowing the answer to the first question before making the second?