LogicalAndReasoning
There are four masses all whose weights are all integers. The total weight of these masses is 40$g$. If it is possible to measure any integer weight between 1$g$ and 40$g$ using some combinations of these masses, what are their weights respectively?